greeter

modified script

Jul 3rd, 2013
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 2.57 KB | None | 0 0
  1. bind pub - !devoice devoice
  2. bind pub - !d devoice
  3. proc devoice {nick uhost hand chan arg} {
  4. putserv "MODE $chan -v $nick"
  5. }
  6.  
  7. bind pub - !voice voice
  8. bind pub - !v voice
  9. proc voice {nick uhost hand chan arg} {
  10. putserv "MODE $chan +v $nick"
  11. }
  12.  
  13. bind pub - !admin help
  14. proc help {nick uhost hand chan arg} {
  15. putserv "NOTICE @$chan $nick has requested urgent assistance in $chan";
  16. putserv "NOTICE greeter $nick has requested urgent assistance in $chan";
  17. putserv "NOTICE $nick Your request for assistance has been sent to the operators of $chan. Please note this will not guarantee a swift reply if no ops are available to help.";
  18. }
  19.  
  20. bind pub - !coffee acoffee
  21. proc acoffee {nick uhost hand chan arg} {
  22. set total [expr {round(rand() * 100)}]
  23. putserv "PRIVMSG $chan :\001ACTION gives $nick a cup of coffee brewed at $total degrees Celsius.\001";
  24. }
  25.  
  26. bind pub - !ice aice
  27. proc aice {nick uhost hand chan arg} {
  28. set total [expr {round(rand() * 273)}]
  29. putserv "PRIVMSG $chan :\001ACTION gives $nick a block of ice chilled to -$total degrees Celsius.\001";
  30. }
  31.  
  32. bind pub - !water awater
  33. proc awater {nick uhost hand chan arg} {
  34. set total [expr {round(rand() * 273)}]
  35. putserv "PRIVMSG $chan :\001ACTION gives $nick a cup of ice water, with ice cubes chilled to -$total degrees Celsius.\001";
  36. }
  37.  
  38. bind pub - !beer abeer
  39. proc abeer {nick uhost hand chan arg} {
  40. set total [expr {round(rand() * 15)}]
  41. putserv "PRIVMSG $chan :\001ACTION gives $nick a bottle of beer chilled to $total degrees Celsius.\001";
  42. }
  43.  
  44. bind pub - !cheesecake acheesecake
  45. proc acheesecake {nick uhost hand chan arg} {
  46. putserv "PRIVMSG $chan :\001ACTION gives $nick a slice of cheesecake.\001";
  47. }
  48.  
  49. bind pub - !hug ahug
  50. proc ahug {nick uhost hand chan arg} {
  51. putserv "PRIVMSG $chan :\001ACTION hugs $nick\001";
  52. }
  53.  
  54. bind pub - !whisky awhisky
  55. proc awhisky {nick uhost hand chan arg} {
  56. putserv "PRIVMSG $chan :\001ACTION gives $nick a glass of whisky on the rocks, aged 40 years.\001";
  57. }
  58.  
  59. bind pub - !wine awine
  60. proc awine {nick uhost hand chan arg} {
  61. putserv "PRIVMSG $chan :\001gives $nick a glass of wine.\001";
  62. }
  63.  
  64. bind pub - !jd ajd
  65. proc ajd {nick uhost hand chan arg} {
  66. if {[string compare $nick Intellectual]==0} {
  67. putserv "PRIVMSG $chan :\001ACTION gives $nick a glass of Jack Daniel's whisky on the rocks, aged 40 years.\001";
  68. }
  69. if {[string compare $nick Intellectual]!=0} {
  70. putserv "PRIVMSG $chan Sorry $nick, that bottle of Jack Daniel's is reserved for Intellectual."
  71. }
  72. }
  73.  
  74. bind pub - Why?? awhy
  75. proc awhy {nick uhost hand chan arg} {
  76. putserv "PRIVMSG $chan :Because the RNG hates you, that's why!";
  77. }
Advertisement
Add Comment
Please, Sign In to add comment