Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. proc moxfun_cry {nick host handle channel text} {
  2. global funstuff_enabled botnick
  3.  
  4. if {!$funstuff_enabled} {
  5. return
  6. }
  7.  
  8. set tlist [list "$nick starts to weep. Poor little!"\
  9. "$nick bursts into tears."\
  10. "$nick cries."]
  11.  
  12. set txt "sees: [lindex $tlist [rand [llength $tlist]]]"
  13.  
  14. mxirc_action $channel $txt
  15.  
  16. switch [rand 10] {
  17. 0 { mxirc_action $channel "pats $nick. C'mon, world isn't that bad." }
  18. 1 { mxirc_say $channel "here $nick, have a tissue." }
  19. 2 {
  20. mxirc_say $channel "!hug $nick"
  21. moxfun_hug $botnick $host $handle $channel $nick
  22. }
  23. default {}
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement