Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.54 KB | None | 0 0
  1.   if ( $1 == !addcommand ) {
  2.     if ($nick isop $chan) {
  3.       if (!$istok(%reservedcommands,$lower($2),32)) {
  4.         if ( !* !iswm $2 ) {
  5.           if ($regex($2-,/[\/\\^$()\[\]{}|*+?]/)) {
  6.             msg $chan $+(@,$nick) Invalid command.
  7.             echo $chan $regex($2-,/[\/\\^$()\[\]{}|*+?]/)
  8.             return
  9.           }
  10.         }
  11.         write $+($chan,.,COMMANDS.txt) $+($lower($2),$chr(32),$3-)
  12.         msg $chan $lower($2) is now recorded.
  13.         echo $chan $regex($2-,/[\/\\^$()\[\]{}|*+?]/)
  14.       }
  15.     }
  16.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement