Advertisement
Guest User

Untitled

a guest
May 28th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. bind pub * !hug pub:hug
  2. proc pub:hug {nick host hand chan text} {
  3. set whom [lindex $text 0]
  4. if {$whom == ""} {
  5. putact $chan "hugs $nick"
  6. } elseif {[isbotnick $whom]} {
  7. putact $chan "hugs himself for he is awesome"
  8. } elseif {[onchan $whom $chan]} {
  9. putact $chan "hugs $whom"
  10. } else {
  11. putquick "NOTICE $nick :I cannot hug someone who isn't here!"
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement