All pastes #497138 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-19 17:30 UTC
rendered paste body
;===========================================;
; Project   :   No Msg X Commands (NMXC)
; Script    :   Main (&only) file
;===========================================;
; Author    :   CoCo^	
; Email/URL :   coco_alex@rdslink.ro
; VERSION   :   1.2
; Filename  :   no_msg_x_commands by CoCo.mrc
;===========================================;
;Please don't rip!!!!!!! Just put this file 'as is' in your script and mention my nickname somewhere and that's all

on 1:input:*:{
  if ($1 == login) { if (%xu != $null) && (%xp != $null) { .msg x@channels.undernet.org login %xu %xp } | else { .msg x@channels.undernet.org login $$?="Username" $$?*="Password" } }
  if ($1 == op) { if ($chr(35) isin $strip($2-)) { .msg x op $2- } | else { .msg x op $active $2- } }
  if ($1 == .o) { if ($chr(35) isin $strip($2-)) { .msg x op $2- } | else { .msg x op $active $2- } }
  if ($1 == o) { if ($chr(35) isin $strip($2-)) { .msg x op $2- } | else { .msg x op $active $2- } }
  if ($1 == +o) { if ($chr(35) isin $strip($2-)) { .msg x op $2- } | else { .msg x op $active $2- } }
  if ($1 == +@) { if ($chr(35) isin $strip($2-)) { .msg x op $2- } | else { .msg x op $active $2- } }
  if ($1 == @) { if ($chr(35) isin $strip($2-)) { .msg x op $2- } | else { .msg x op $active $2- } }
  if ($1 == rai) { if ($chr(35) isin $strip($2-)) { .msg x op $2- } | else { .msg x op $active $2- } }
  if ($1 == sus) { if ($chr(35) isin $strip($2-)) { .msg x op $2- } | else { .msg x op $active $2- } }
  if ($1 == .d) { if ($chr(35) isin $strip($2-)) { .msg x deop $2- } | else { .msg x deop $active $2- } }
  if ($1 == d) { if ($chr(35) isin $strip($2-)) { .msg x deop $2- } | else { .msg x deop $active $2- } }
  if ($1 == iad) { if ($chr(35) isin $strip($2-)) { .msg x deop $2- } | else { .msg x deop $active $2- } }
  if ($1 == deop) { if ($chr(35) isin $strip($2-)) { .msg x deop $2- } | else { .msg x deop $active $2- } }
  if ($1 == jos) { if ($chr(35) isin $strip($2-)) { .msg x deop $2- } | else { .msg x deop $active $2- } }
  ;if ($1 == -o) { if ($chr(35) isin $strip($2-)) { .msg x deop $2- } | else { .msg x deop $active $2- } }
  ;if ($1 == -@) { if ($chr(35) isin $strip($2-)) { .msg x deop $2- } | else { .msg x deop $active $2- } }
  if ($1 == voice) { if ($chr(35) isin $strip($2-)) { .msg x voice $2- } | else { .msg x voice $active $2- } }
  if ($1 == mort) { if ($chr(35) isin $strip($2-)) { .msg x voice $2- } | else { .msg x voice $active $2- } }
  if ($1 == mori) { if ($chr(35) isin $strip($2-)) { .msg x voice $2- } | else { .msg x voice $active $2- } }
  if ($1 == +) { if ($chr(35) isin $strip($2-)) { .msg x voice $2- } | else { .msg x voice $active $2- } }
  if ($1 == +v) { if ($chr(35) isin $strip($2-)) { .msg x voice $2- } | else { .msg x voice $active $2- } }
  if ($1 == v) { if ($chr(35) isin $strip($2-)) { .msg x voice $2- } | else { .msg x voice $active $2- } }
  if ($1 == devoice) { if ($chr(35) isin $strip($2-)) { .msg x devoice $2- } | else { .msg x devoice $active $2- } }
  if ($1 == dv) { if ($chr(35) isin $strip($2-)) { .msg x devoice $2- } | else { .msg x devoice $active $2- } }
  if ($1 == viu) { if ($chr(35) isin $strip($2-)) { .msg x devoice $2- } | else { .msg x devoice $active $2- } }
  ;if ($1 == -v) { if ($chr(35) isin $strip($2-)) { .msg x devoice $2- } | else { .msg x devoice $active $2- } }
  if ($1 == -) { if ($chr(35) isin $strip($2-)) { .msg x devoice $2- } | else { .msg x devoice $active $2- } }
  if ($1 == kick) { if ($chr(35) isin $strip($2-)) { .msg x kick $2- } | else { .msg x kick $active $2- } }
  if ($1 == k) { if ($chr(35) isin $strip($2-)) { .msg x kick $2- } | else { .msg x kick $active $2- } }
  if ($1 == _!_) { if ($chr(35) isin $strip($2-)) { .msg x kick $2- } | else { .msg x kick $active $2- } }
  if ($1 == _|_) { if ($chr(35) isin $strip($2-)) { .msg x kick $2- } | else { .msg x kick $active $2- } }
  if ($1 == ban) { if ($chr(35) isin $strip($2-)) { .msg x ban $2- } | else { .msg x ban $active $2- } } 
  if ($1 == .b) { if ($chr(35) isin $strip($2-)) { .msg x ban $2- } | else { .msg x ban $active $2- } }
  if ($1 == b) { if ($chr(35) isin $strip($2-)) { .msg x ban $2- } | else { .msg x ban $active $2- } }
  if ($1 == +b) { if ($chr(35) isin $strip($2-)) { .msg x ban $2- } | else { .msg x ban $active $2- } }
  if ($1 == unban) { if ($chr(35) isin $strip($2-)) { .msg x unban $2- } | else { .msg x unban $active $2- } }
  if ($1 == ub) { if ($chr(35) isin $strip($2-)) { .msg x unban $2- } | else { .msg x unban $active $2- } }
  ;if ($1 == -b) { if ($chr(35) isin $strip($2-)) { .msg x unban $2- } | else { .msg x unban $active $2- } }
  if ($1 == topic) { if ($chr(35) isin $strip($2-)) { .msg x topic $2- } | else { .msg x topic $active $2- } }
  if ($1 == stats) { if ($chr(35) isin $strip($2-)) { .msg x status $2- } | else { .msg x status $active } }
  if ($1 == s?) { if ($chr(35) isin $strip($2-)) { .msg x status $2- } | else { .msg x status $active } }
  if ($1 == status) { if ($chr(35) isin $strip($2-)) { .msg x status $2- } | else { .msg x status # } }
  if ($1 == cinfo) { if ($chr(35) isin $strip($2-)) { .msg x chaninfo $2- } | else { .msg x chaninfo $active } }
  if ($1 == chaninfo) { if ($chr(35) isin $strip($2-)) { .msg x chaninfo $2- } | else { .msg x chaninfo $active } }
  if ($1 == access) { if ($chr(35) isin $strip($2-)) { .msg x access $2- } | else { .msg x access $active $2- } }
  if ($1 == ac) { if ($chr(35) isin $strip($2-)) { .msg x access $2- } | else { .msg x access $active $2- } }
  if ($1 == cc) { if ($chr(35) isin $strip($2-)) { .msg x access $2- } | else { .msg x access $active $2- } }
  if ($1 == info) { .msg x info $2- }
  if ($1 == i) { .msg x info $2- }
  if ($1 == add) { if ($chr(35) isin $strip($2-)) { .msg x adduser $2- } | else { .msg x adduser $active $2- } }
  if ($1 == adduser) { if ($chr(35) isin $strip($2-)) { .msg x adduser $2- } | else { .msg x adduser $active $2- } }
  if ($1 == rem) { if ($chr(35) isin $strip($2-)) { .msg x remuser $2- } | else { .msg x remuser $active $2- } }
  if ($1 == remuser) { if ($chr(35) isin $strip($2-)) { .msg x remuser $2- } | else { .msg x remuser # $2- } }
  if ($1 == mac) { if ($chr(35) isin $strip($2-)) { .msg x modinfo $2 access $3- } | else { .msg x modinfo $active access $2- } }
  if ($1 == modifac) { if ($chr(35) isin $strip($2-)) { .msg x modinfo $2 access $3- } | else { .msg x modinfo $active access $2- } }
  if ($1 == modinfo) { if ($chr(35) isin $strip($2-)) { .msg x modinfo $2 access $3- } | else { .msg x modinfo $active access $2- } }
  if ($1 == mi) { if ($chr(35) isin $strip($2-)) { .msg x modinfo $2 access $3- } | else { .msg x modinfo $active access $2- } }
  if ($1 == modifaccess) { if ($chr(35) isin $strip($2-)) { .msg x modinfo $2 access $3- } | else { .msg x modinfo $active access $2- } }
  if ($1 == modifau) { if ($chr(35) isin $strip($2-)) { .msg x modinfo $2 automode $3- } | else { .msg x modinfo $active automode $2- } }
  if ($1 == mau) { if ($chr(35) isin $strip($2-)) { .msg x modinfo $2 automode $3- } | else { .msg x modinfo $active automode $2- } }
  if ($1 == modifautomode) { if ($chr(35) isin $strip($2-)) { .msg x modinfo $2 automode $3- } | else { .msg x modinfo $active automode $2- } }
  if ($1 == lban) { if ($chr(35) isin $strip($2-)) { .msg x lbanlist $2- * } | else { .msg x lbanlist $active * } }
  if ($1 == listban) { if ($chr(35) isin $strip($2-)) { .msg x lbanlist $2- * } | else { .msg x lbanlist $active * } }
  if ($1 == banl) { if ($chr(35) isin $strip($2-)) { .msg x banlist $2- } | else { .msg x banlist $active } }
  if ($1 == b?) { if ($chr(35) isin $strip($2-)) { .msg x banlist $2- } | else { .msg x banlist $active } }
  if ($1 == banlist) { if ($chr(35) isin $strip($2-)) { .msg x banlist $2- } | else { .msg x banlist $active } }
  if ($1 == desc) { if ($chr(35) isin $strip($2-)) { .msg x set $2 desc $3- } | else { .msg x set $active desc $2- } }
  if ($1 == description) { if ($chr(35) isin $strip($2-)) { .msg x set $2 description $3- } | else { .msg x set $active description $2- } }
  if ($1 == autot) { if ($chr(35) isin $strip($2-)) { .msg x set $2 autotopic $3- } | else { .msg x set $active autotopic $2- } }
  if ($1 == autotopic) { if ($chr(35) isin $strip($2-)) { .msg x set $2 autotopic $3- } | else { .msg x set # autotopic $2- } }
  if ($1 == url) { if ($chr(35) isin $strip($2-)) { .msg x set $2 url $3- } | else { .msg x set $active url $2- } }
  if ($1 == 0mode) { if ($chr(35) isin $strip($2-)) { .msg x clearmode $2- } | else { .msg x clearmode $active } }
  if ($1 == clearmode) { if ($chr(35) isin $strip($2-)) { .msg x clearmode $2- } | else { .msg x clearmode $active } }
  if ($1 == part) { if ($chr(35) isin $strip($2-)) { .msg x part $2- } | else { .msg x part $active } }
  if ($1 == join) { if ($chr(35) isin $strip($2-)) { .msg x join $2- } | else { .msg x join $active } }
  if ($1 == suspend) { if ($chr(35) isin $strip($2-)) { .msg x suspend $2- } | else { .msg x suspend $active $2- } }
  if ($1 == s) { if ($chr(35) isin $strip($2-)) { .msg x suspend $2- } | else { .msg x suspend $active $2- } }
  if ($1 == us) { if ($chr(35) isin $strip($2-)) { .msg x unsuspend $2- } | else { .msg x unsuspend $active $2- } }
  if ($1 == unsuspend) { if ($chr(35) isin $strip($2-)) { .msg x unsuspend $2- } | else { .msg x unsuspend $active $2- } }
  if ($1 == verify) { .msg x verify $2- }
if ($1 == suspendme) { .msg x@channels.undernet.org suspendme %xp } }
if ($1 == support) { if ($chr(35) isin $strip($2-)) { .msg x support $2- } | else { .msg x support # $2- } }
if ($1 == supportyes) { if ($chr(35) isin $strip($2-)) { .msg x support $2- yes } | else { .msg x support # yes } }
if ($1 == supportno) { if ($chr(35) isin $strip($2-)) { .msg x support $2- no } | else { .msg x support # no } }
if ($1 == showignore) { .msg x showignore }
if ($1 == commands) { if ($chr(35) isin $strip($2-)) { .msg x showcommands $2- } | else { .msg x showcommands # } }
if ($1 == showcommands) { if ($chr(35) isin $strip($2-)) { .msg x showcommands $2- } | else { .msg x showcommands # } }
if ($1 == maxlogins) { .msg x set maxlogins $2- }
if ($1 == maxlog) { .msg x set maxlogins $2- }
if ($1 == maxl) { .msg x set maxlogins $2- }
if ($1 == lang) { .msg x set lang $2- }
if ($1 == search) { .msg x search $2- }
if ($1 == motd) { .msg x motd }
if ($1 == help) { .msg x help $2- }
if ($1 == modif) { if ($chr(35) isin $strip($2-)) { .msg x access $2- -modif } | else { .msg x access # -modif } }
if ($1 == -none) { if ($chr(35) isin $strip($2-)) { .msg x access $2- -none } | else { .msg x access # -none } }
if ($1 == -voice) { if ($chr(35) isin $strip($2-)) { .msg x access $2- -voice } | else { .msg x access # -voice } }
if ($1 == -op) { if ($chr(35) isin $strip($2-)) { .msg x access $2- -op } | else { .msg x access # -op } }
if ($1 == -max) { if ($chr(35) isin $strip($2-)) { .msg x access $2 -max $3- } | else { .msg x access # -max $2- } }
if ($1 == -min) { if ($chr(35) isin $strip($2-)) { .msg x access $2 -min $3- } | else { .msg x access # -min $2- } }
if ($1 == invite) { if ($chr(35) isin $strip($2-)) { .msg x invite $2- } | else { .msg x invite # } }
if ($1 == inv) { if ($chr(35) isin $strip($2-)) { .msg x invite $2- } | else { .msg x invite # } }
if ($1 == flags) { if ($chr(35) isin $strip($2-)) { .msg x set $2 userflags $3- } | else { .msg x set # userflags $2- } }
if ($1 == userflags) { if ($chr(35) isin $strip($2-)) { .msg x set $2 userflags $3- } | else { .msg x set # userflags $2- } }
if ($1 == savemode) { if ($chr(35) isin $strip($2-)) { .msg x set $2- mode } | else { .msg x set # mode } }
if ($1 == sm) { if ($chr(35) isin $strip($2-)) { .msg x set $2- mode } | else { .msg x set # mode } }
if ($1 == keywords) { if ($chr(35) isin $strip($3-)) { .msg x set $3 keywords $4- } | else { .msg x set # keywords $3- } }
if ($1 == key) { if ($chr(35) isin $strip($2-)) { .msg x set $2 keywords $3- } | else { .msg x set # keywords $2- } }
if ($1 == floatper) { if ($chr(35) isin $strip($2-)) { .msg x set $2 floatperiod $3- } | else { .msg x set # floatperiod $2- } }
if ($1 == floatperiod) { if ($chr(35) isin $strip($2-)) { .msg x set $2 floatperiod $3- } | else { .msg x set # floatperiod $2- }  
  if ($1 == floatmax) { if ($chr(35) isin $strip($2-)) { .msg x set $2 floatmax $3- } | else { .msg x set # floatmax $2- } }
  if ($1 == floatmar) { if ($chr(35) isin $strip($2-)) { .msg x set $2 floatmargin $3- } | else { .msg x set # floatmargin $2- } }
  if ($1 == floatmargin) { if ($chr(35) isin $strip($2-)) { .msg x set $2 floatmargin $3- } | else { .msg x set # floatmargin $2- } }
  if ($1 == floatgra) { if ($chr(35) isin $strip($2-)) { .msg x set $2 floatgrace $3- } | else { .msg x set # floatgrace $2- } }
  if ($1 == floatgrace) { if ($chr(35) isin $strip($2-)) { .msg x set $2 floatgrace $3- } | else { .msg x set # floatgrace $2- } }
  if ($1 == floatlim) { if ($chr(35) isin $strip($2-)) { .msg x set $2 floatlim $3- } | else { .msg x set # floatlim $2- } }
  if ($1 == strictop) { if ($chr(35) isin $strip($2-)) { .msg x set $3 strictop $3- } | else { .msg x set # strictop $2- } }
  if ($1 == noop) { if ($chr(35) isin $strip($2-)) { .msg x set $2 noop $3- } | else { .msg x set # noop $2- } }
  if ($1 == massdeop) { if ($chr(35) isin $strip($2-)) { .msg x set $2 massdeoppro $3- } | else { .msg x set # massdeoppro $3- } }
  if ($1 == massdeoppro) { if ($chr(35) isin $strip($2-)) { .msg x set $2 massdeoppro $3- } | else { .msg x set # massdeoppro $2- } }
  if ($1 == autojoin) { if ($chr(35) isin $strip($2-)) { .msg x set $2 autojoin $3- } | else { .msg x set # autojoin $2- } }
  if ($1 == kickall) { if ($chr(35) isin $strip($2-)) { .msg x kick $2 *!*@*.* $3- } | else { .msg x kick # *!*@*.* $2- } }
  if ($1 == kick) && ($2 == *) { if ($chr(35) isin $strip($2-)) { .msg x kick $3 *!*@*.* $4- } | else { .msg x kick # *!*@*.* $3- } }
  if ($1 == banall) { if ($chr(35) isin $strip($2-)) { .msg x ban $2 *!*@*.* $3- } | else { .msg x ban # *!*@*.* $2- } }
  if ($1 == ban) && ($2 == *) { if ($chr(35) isin $strip($2-)) { .msg x ban $4 *!*@*.* $4- } | else { .msg x ban # *!*@*.* $3- } }
}
}
}
;on *:load:{ set %xu $$?=Serviceauto | set %xp $$?*="What't the password?:" | echo -at 2,9The username you wrote is: %xu  | echo -at And the password for that username: %xp  }

;on*:connect:{ if (%xu != $null) && (%xp != $null) { .msg x@channels.undernet.org login %xu %xp } }