Public paste
opmode
By: KingChaos | Date: Apr 18 2007 20:34 | Format: None | Expires: never | Size: 3.03 KB | Hits: 1359

  1. ;::::::::::::::::::::::::::::::::::
  2. ;: CopyRight 2006/2007©          ::
  3. ;: Script made by KingChaos      ::
  4. ;: visit #KingChaos              ::
  5. ;: Opmode script for asuka IRC OP::
  6. ;::::::::::::::::::::::::::::::::::
  7. ;Dont rip pleas
  8. ;all commands simpelly with right click of your mouse.
  9.  
  10. menu nicklist {
  11.   .$iif(o isin $usermode,opmode selected users)
  12.   ..op://var %x = 1, %y = 6 | while ([ [ $ [ $+ [ %x ] ] ] ]) { opmode $chan +oooooo $($+($,%x,-,%y),4) | inc %x 6 | inc %y 6 }
  13.   ..deop://var %x = 1, %y = 6 | while ([ [ $ [ $+ [ %x ] ] ] ]) { opmode $chan -oooooo $($+($,%x,-,%y),4) | inc %x 6 | inc %y 6 }
  14.   ..ban://opmode $chan +b $address($1,2)
  15.   ..unban://opmode $chan -b $address($1,2)
  16.   ..voice://var %x = 1, %y = 6 | while ([ [ $ [ $+ [ %x ] ] ] ]) { opmode $chan +vvvvvv $($+($,%x,-,%y),4) | inc %x 6 | inc %y 6 }
  17.   ..devoice:var %x = 1, %y = 6 | while ([ [ $ [ $+ [ %x ] ] ] ]) { opmode $chan -vvvvvv $($+($,%x,-,%y),4) | inc %x 6 | inc %y 6 }
  18.   ..deopAll://clearmode $chan o
  19.   ..devoiceAll://clearmode $chan v
  20. }
  21.  
  22. menu * {
  23.   .$iif(o isin $usermode,Operserv Commands)
  24.   ..kick (reason) ://msg O kick $chan $1 $$?="kick reason"
  25.   ..kick://msg O kick $chan $1
  26.   ..kickall://msg O clearchan #chan 1 $$?="kick reason"
  27.   ..gline user://msg o gline $address($1,0) $$?="duration?" $$?="gline reason"
  28.   ..gline channel://msg o gline #chan $$?="duration" $$?="reason"
  29.   ..degline user/channel://msg o ungline $$?="address/channel?"
  30.   ..clearchan://msg O clearchan $chan $$?="type (1 is kicking, 2 means killing, 3 means glining user@host, 4 means glining *@host)" $$?="duration" $$?="reason"
  31.   ..broadcast://msg o broadcast $$?="message to broadcast"
  32.   ..Auth://msg O auth authname password
  33. }
  34.  
  35. menu channel {
  36.   .$iif(o isin $usermode,Opmode active channel)
  37.   ..+m (+moderated)://opmode $chan +m
  38.   ..-m (-moderated)://opmode $chan -m
  39.   ..+t (Only ops set topic)://opmode $chan +t
  40.   ..-t (everyone is able to set topic) ://opmode $chan -t
  41.   ..+n (no external messages) ://opmode $chan +n
  42.   ..-n (external messages are allowed) ://opmode $chan -n
  43.   ..+p (+Private) ://opmode $chan +p
  44.   ..-p (-Private) ://opmode $chan -p
  45.   ..+s (+Secret) ://opmode $chan +s
  46.   ..-s (-Secret) ://opmode $chan -s
  47.   ..+i (+Invite only) ://opmode $chan +i
  48.   ..-i (-Invite only) ://opmode $chan -i
  49.   ..+r (+Authed only) ://opmode $chan +r
  50.   ..-r (-Authed only) ://opmode $chan +r
  51.   ..+D (+Delay) ://opmode $chan +D
  52.   ..-D (-Delay) ://opmode $chan -D
  53.   ..+c (Block colors) ://opmode $chan +c
  54.   ..-c (Unblock colors) ://opmode $chan -c
  55.   ..+C (No ctcp messages in the channel) ://opmode $chan +C
  56.   ..-C (Ctcp messages are allowed) ://opmode $chan -C
  57.   ..+N (No notice messages in the channel) ://opmode $chan +N
  58.   ..-N (Notice messages are allowed) ://opmode $chan -N
  59.   ..+u (Block quit messages) ://opmode $chan +u
  60.   ..-u (Unblock quit messages) ://opmode $chan -u
  61.   ..clearbans://clearmode $chan b
  62.   ..massban://opmode $chan +b *!*@*
  63.   ..lock the channel://opmode $chan +imlk 1 locked
  64.   ..clearmodes://opmode $chan -mispCrDcNulk *
  65.   ..recover://clearmode $chan
  66. }
  67.