Public paste
mIRC
By: xmoo | Date: Sep 7 2006 17:55 | Format: None | Expires: never | Size: 533 B | Hits: 1402

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