Public paste
mIRC
By: Xmoo | Date: Sep 7 2006 17:44 | Format: None | Expires: never | Size: 560 B | Hits: 854

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