daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bind pub - "`help" help
  2. bind pub - "`on" onduty
  3.  
  4. proc onduty { nickname hostname handle channel arguments } {
  5. global Helpdesk
  6. if {![channel get $channel "#Helpdesk"]} {
  7. if {$nickname == {David}} {
  8. putserv "privmsg $channel :$nickname has been marked as on duty!"
  9. }
  10. }
  11. }
  12.  
  13. proc help { nickname hostname handle channel arguments } {
  14. global Helpdesk
  15. putserv "privmsg David :$nickname requires assistance."
  16. }
  17. putlog "Helpdesk Script Successfully loaded!"
RAW Paste Data
Top