Guest User

Untitled

a guest
Jun 27th, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.67 KB | None | 0 0
  1. bind msg - "Msg:" say-Msg
  2. proc say-Msg { nick host hand txt } {
  3. if {$nick == "My1" || $nick == "My1xT" || $nick == "My1-mob" || $nick == "My1-roflBNC" || $nick == "My1-BNC"} {
  4. set nlist ""
  5. set msg ""
  6. set target ""
  7. set nlist [split $txt "\>"]
  8. set target [lindex $nlist 0}
  9. set msg [lindex $nlist 1]
  10.     puthelp "PRIVMSG $target : $msg"
  11. }
  12. }
  13.  
  14. bind msg - "Notc:" say-Notc
  15. proc say-Notc { nick host hand txt } {
  16. if {$nick == "My1" || $nick == "My1xT" || $nick == "My1-mob" || $nick == "My1-roflBNC" || $nick == "My1-BNC"} {
  17. set nlist ""
  18. set msg ""
  19. set target ""
  20. set nlist [split $txt "\>"]
  21. set target [lindex $nlist 0]
  22. set msg [lindex $nlist 1]
  23.     putnotc $target $msg
  24. }
  25. }
Add Comment
Please, Sign In to add comment