Public paste
mIRC
By: Xmoo | Date: Sep 7 2006 17:19 | Format: mIRC Scripting | Expires: never | Size: 561 B | Hits: 1843

  1. on *:text:!request *:#channel: {
  2.   if ($gettok($2,1,44) != 0) join $v1
  3. }
  4. raw 366:*: {
  5.   if (%request. [ $+ [ $2 ] ]) {
  6.     if ($nick($2,0) < 25) {
  7.       msg %request. [ $+ [ $2 ] ] Your request has been denied
  8.     }
  9.     elseif (%request. [ $+ [ $2 ] ] !isop $2) {
  10.       msg %request. [ $+ [ $2 ] ] Your request has been denied
  11.     }
  12.  
  13.     else {
  14.       msg %request. [ $+ [ $2 ] ] Your request has been accepted
  15.       msg Mybot addchannel $2
  16.       msg Mybot addowner $2 %request. [ $+ [ $2 ] ]
  17.     }
  18.     unset %request. $+ $2
  19.     part $2
  20.   }
  21. }