Advertisement
westor

!join and !leave for Aotik

Jan 17th, 2015
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.47 KB | None | 0 0
  1. ON !*:TEXT:*:#: {
  2.   tokenize 32 $strip($1-,burci)
  3.   if ($1 == !join) {
  4.     var %c = $chr(35) $+ $nick
  5.     if ($me ison %c) { .msg $chan ( $+ $nick $+ ): Error, I am already into $qt(%c) channel! | return }
  6.     set %chans $addtok(%chans,%c,44)
  7.     .join -n %c
  8.   }
  9.   if ($1 == !leave) || ($1 == !part) {
  10.     set %chans $remtok(%chans,$chan,1,44)
  11.     .part $chan Supporting Deleted!
  12.   }
  13. }
  14.  
  15. ON *:CONNECT: {
  16.   if (%chans) { .timer[JOIN_SUPPORT] 1 3 join -n %chans }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement