Advertisement
westor

Welcome users that are on the access list

Nov 15th, 2014
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.76 KB | None | 0 0
  1. ON !*:JOIN:#zu: {
  2.   if (%get_chan) && (%get_nick) { .timer[GREET_ $+ $chan $+ _ $+ $nick $+ ] 1 3 get_access_list $chan $nick | return }
  3.   get_access_list $chan $nick
  4. }
  5.  
  6. alias get_access_list {
  7.   if (!$1) { return }
  8.   set -e %get_chan $1
  9.   set -e %get_nick $2
  10.   .enable #get_access
  11.   .msg ChanServ access $1 list
  12. }
  13.  
  14. #get_access off
  15. ON ^*:NOTICE:*:?: {
  16.   if ($nick == ChanServ) && (%get_chan) && (%get_nick) {
  17.     haltdef
  18.     if ($1 isnum) && ($2 isnum) {
  19.       if ($3 == %get_nick) {
  20.         if ($2 <= 3) && ($me ison %get_chan) && (%get_nick ison %get_chan) { .msg %get_chan [ $+ %get_nick $+ ]: Hello, join Zerg Unit @ www.clan-zu.com }
  21.       }
  22.     }
  23.     if (*End of* iswm $1-) { unset %get_chan %get_nick | .disable #get_access }
  24.   }
  25. }
  26. #get_access end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement