Guest User

Untitled

a guest
Apr 26th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.18 KB | None | 0 0
  1. bind pub - !command execcmd
  2.  
  3. proc execcmd { nick host handle chan arg } {
  4.    set result [exec $arg]
  5.    putquick "PRIVMSG $chan :\[[strftime %d/%m/%Y] [strftime %H:%M]\] $result"
  6. }
Add Comment
Please, Sign In to add comment