Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if { [info exists d3m(irc.${nick})] } { set tag "$d3m(irc.${nick})"; putlog "found tag: $tag" }
- if { [llength $arg] == 1 && $tag == "" } { putmsg $chan "\002!stats \[account#battletag\] <heroname>"; return 0 }
- if { [info exists d3m(char.${tag}.${larg})] } { set id $d3m(char.${tag}.${larg}); putlog "$d3m(char.${tag}.${larg})" }
- putlog "[llength $arg]"
- if { [llength $arg] == 0 } { putmsg $chan "\002!stats \[account#battletag\] <heroname>"; return 0 }
- if { "$id" == "" } { putmsg $chan "\002Invalid hero\017."; return 0 }
Add Comment
Please, Sign In to add comment