Public paste
mIRC
By: xmooo | Date: Sep 7 2006 17:53 | Format: None | Expires: never | Size: 497 B | Hits: 1584

  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 $nick 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 $nick Your request has been accepted
  19.     }
  20. unset %request. $+ $2
  21.   }
  22. }