Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bind pub * !hug pub:hug
- proc pub:hug {nick host hand chan text} {
- set whom [lindex $text 0]
- if {$whom == ""} {
- putact $chan "hugs $nick"
- } elseif {[isbotnick $whom]} {
- putact $chan "hugs himself for he is awesome"
- } elseif {[onchan $whom $chan]} {
- putact $chan "hugs $whom"
- } else {
- putquick "NOTICE $nick :I cannot hug someone who isn't here!"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement