Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. if { [lindex [split $arg] 1] == "on" } {
  2. set proc_change "[namespace current]::recv_[lindex [split $arg] 0]"
  3. bind bot - $change $proc_change
  4. } elseif { [lindex [split $arg] 1] == "off" } {
  5. set proc_change "[namespace current]::recv:[lindex [split $arg] 0]"
  6. unbind bot - $change $proc_change
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement