Guest User

Untitled

a guest
Nov 18th, 2018
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.56 KB | None | 0 0
  1.         if { [info exists d3m(irc.${nick})] } { set tag "$d3m(irc.${nick})"; putlog "found tag: $tag" }
  2.         if { [llength $arg] == 1 && $tag == "" } { putmsg $chan "\002!stats \[account#battletag\] <heroname>"; return 0 }
  3.         if { [info exists d3m(char.${tag}.${larg})] } { set id $d3m(char.${tag}.${larg}); putlog "$d3m(char.${tag}.${larg})" }
  4.         putlog "[llength $arg]"
  5.         if { [llength $arg] == 0 } { putmsg $chan "\002!stats \[account#battletag\] <heroname>"; return 0 }
  6.         if { "$id" == "" } { putmsg $chan "\002Invalid hero\017."; return 0 }
Add Comment
Please, Sign In to add comment