greeter

bind join example

May 1st, 2014
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.41 KB | None | 0 0
  1. bind join - "#mediation *!*@*" aljoin
  2. proc aljoin {nick chan uhost hand} {
  3. putserv "NOTICE @#winners $nick has just joined #mediation"
  4. }
  5.  
  6. substitute #mediation for the channel you want. use *!*@* to bind to all joins on that channel
  7. the notice will send a notice to all channel operators in #winners that someone has joined #mediation
  8. change this to suit your needs. you may wish to use PRIVMSG instead of NOTICE
Advertisement