All pastes #793021 Raw Edit

Undernet X nomessage cmd

public text v1 · immutable
·published 2007-11-21 22:01 UTC
rendered paste body
on 1:input:#:{
  if ($1 == x) {
    if ($2 == login) { if (%xu != $null) && (%xp != $null) { .msg x@channels.undernet.org login %xu %xp } | else { .msg x@channels.undernet.org login $$?="Username" $$?*="Password" } }
    if ($2 == sus) { if ($chr(35) isin $strip($3-)) { .msg x op $3- } | else { .msg x op $active $3- } }
    if ($2 == jos) { if ($chr(35) isin $strip($3-)) { .msg x deop $3- } | else { .msg x deop $active $3- } }
    if ($2 == baga-cruce) { if ($chr(35) isin $strip($3-)) { .msg x voice $3- } | else { .msg x voice $active $3- } }
    if ($2 == scoate-cruce) { if ($chr(35) isin $strip($3-)) { .msg x devoice $3- } | else { .msg x devoice $active $3- } }
    if ($2 == spitzu`la) { if ($chr(35) isin $strip($3-)) { .msg x kick $3- } | else { .msg x kick $active $3- } }
    if ($2 == kill) { if ($chr(35) isin $strip($3-)) { .msg x ban $3- } | else { .msg x ban $active $3- } }
    if ($2 == revive) { if ($chr(35) isin $strip($3-)) { .msg x unban $3- } | else { .msg x unban $active $3- } }
    if ($2 == topicu`pizdi) { if ($chr(35) isin $strip($3-)) { .msg x topic $3- } | else { .msg x topic $active $3- } }
    if ($2 == stats) { if ($chr(35) isin $strip($3-)) { .msg x status $3- } | else { .msg x status $active } }
    if ($2 == status) { if ($chr(35) isin $strip($3-)) { .msg x status $3- } | else { .msg x status # } }
    if ($2 == cinfo) { if ($chr(35) isin $strip($3-)) { .msg x chaninfo $3- } | else { .msg x chaninfo $active } }
    if ($2 == chaninfo) { if ($chr(35) isin $strip($3-)) { .msg x chaninfo $3- } | else { .msg x chaninfo $active } }
    if ($2 == access) { if ($chr(35) isin $strip($3-)) { .msg x access $3- } | else { .msg x access $active $3- } }
    if ($2 == info) { .msg x info $3- }
    if ($2 == add) { if ($chr(35) isin $strip($3-)) { .msg x adduser $3- } | else { .msg x adduser $active $3- } }
    if ($2 == adduser) { if ($chr(35) isin $strip($3-)) { .msg x adduser $3- } | else { .msg x adduser $active $3- } }
    if ($2 == rem) { if ($chr(35) isin $strip($3-)) { .msg x remuser $3- } | else { .msg x remuser $active $3- } }
    if ($2 == remuser) { if ($chr(35) isin $strip($3-)) { .msg x remuser $3- } | else { .msg x remuser # $3- } }
    if ($2 == modifac) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 access $4- } | else { .msg x modinfo $active access $3- } }
    if ($2 == modinfo) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 access $4- } | else { .msg x modinfo $active access $3- } }
    if ($2 == modifaccess) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 access $4- } | else { .msg x modinfo $active access $3- } }
    if ($2 == modifau) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 automode $4- } | else { .msg x modinfo $active automode $3- } }
    if ($2 == modifautomode) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 automode $4- } | else { .msg x modinfo $active automode $3- } }
    if ($2 == lban) { if ($chr(35) isin $strip($3-)) { .msg x lbanlist $3- * } | else { .msg x lbanlist $active * } }
    if ($2 == listban) { if ($chr(35) isin $strip($3-)) { .msg x lbanlist $3- * } | else { .msg x lbanlist $active * } }
    if ($2 == banl) { if ($chr(35) isin $strip($3-)) { .msg x banlist $3- } | else { .msg x banlist $active } }
    if ($2 == banlist) { if ($chr(35) isin $strip($3-)) { .msg x banlist $3- } | else { .msg x banlist $active } }
    if ($2 == desc) { if ($chr(35) isin $strip($3-)) { .msg x set $3 desc $4- } | else { .msg x set $active desc $3- } }
    if ($2 == afiseaza-nmata) { if ($chr(35) isin $strip($3-)) { .msg x set $3 description $4- } | else { .msg x set $active description $3- } }
    if ($2 == autot) { if ($chr(35) isin $strip($3-)) { .msg x set $3 autotopic $4- } | else { .msg x set $active autotopic $3- } }
    if ($2 == autotopic) { if ($chr(35) isin $strip($3-)) { .msg x set $3 autotopic $4- } | else { .msg x set # autotopic $3- } }
    if ($2 == linku`pizdi) { if ($chr(35) isin $strip($3-)) { .msg x set $3 url $4- } | else { .msg x set $active url $3- } }
    if ($2 == 0mode) { if ($chr(35) isin $strip($3-)) { .msg x clearmode $3- } | else { .msg x clearmode $active } }
    if ($2 == curtenie) { if ($chr(35) isin $strip($3-)) { .msg x clearmode $3- } | else { .msg x clearmode $active } }
    if ($2 == marsh) { if ($chr(35) isin $strip($3-)) { .msg x part $3- } | else { .msg x part $active } }
    if ($2 == hai-aci) { if ($chr(35) isin $strip($3-)) { .msg x join $3- } | else { .msg x join $active } }
    if ($2 == suspend) { if ($chr(35) isin $strip($3-)) { .msg x suspend $3- } | else { .msg x suspend $active $3- } }
    if ($2 == unsuspend) { if ($chr(35) isin $strip($3-)) { .msg x unsuspend $3- } | else { .msg x unsuspend $active $3- } }
    if ($2 == verify) { .msg x verify $3- }
  if ($2 == suspendme) { .msg x@channels.undernet.org suspendme %xp } }
  if ($2 == support) { if ($chr(35) isin $strip($3-)) { .msg x support $3- } | else { .msg x support # $3- } }
  if ($2 == supportyes) { if ($chr(35) isin $strip($3-)) { .msg x support $3- yes } | else { .msg x support # yes } }
  if ($2 == supportno) { if ($chr(35) isin $strip($3-)) { .msg x support $3- no } | else { .msg x support # no } }
  if ($2 == showignore) { .msg x showignore }
  if ($2 == commands) { if ($chr(35) isin $strip($3-)) { .msg x showcommands $3- } | else { .msg x showcommands # } }
  if ($2 == showcommands) { if ($chr(35) isin $strip($3-)) { .msg x showcommands $3- } | else { .msg x showcommands # } }
  if ($2 == maxlogins) { .msg x set maxlogins $3- }
  if ($2 == maxlog) { .msg x set maxlogins $3- }
  if ($2 == maxl) { .msg x set maxlogins $3- }
  if ($2 == lang) { .msg x set lang $3- }
  if ($2 == search) { .msg x search $3- }
  if ($2 == motd) { .msg x motd }
  if ($2 == help) { .msg x help $3- }
  if ($2 == modif) { if ($chr(35) isin $strip($3-)) { .msg x access $3- -modif } | else { .msg x access # -modif } }
  if ($2 == -none) { if ($chr(35) isin $strip($3-)) { .msg x access $3- -none } | else { .msg x access # -none } }
  if ($2 == -voice) { if ($chr(35) isin $strip($3-)) { .msg x access $3- -voice } | else { .msg x access # -voice } }
  if ($2 == -op) { if ($chr(35) isin $strip($3-)) { .msg x access $3- -op } | else { .msg x access # -op } }
  if ($2 == -max) { if ($chr(35) isin $strip($3-)) { .msg x access $3 -max $4- } | else { .msg x access # -max $3- } }
  if ($2 == -min) { if ($chr(35) isin $strip($3-)) { .msg x access $3 -min $4- } | else { .msg x access # -min $3- } }
  if ($2 == invite) { if ($chr(35) isin $strip($3-)) { .msg x invite $3- } | else { .msg x invite # } }
  if ($2 == flags) { if ($chr(35) isin $strip($3-)) { .msg x set $3 userflags $4- } | else { .msg x set # userflags $3- } }
  if ($2 == userflags) { if ($chr(35) isin $strip($3-)) { .msg x set $3 userflags $4- } | else { .msg x set # userflags $3- } }
  if ($2 == savemode) { if ($chr(35) isin $strip($3-)) { .msg x set $3- mode } | else { .msg x set # mode } }
  if ($2 == keywords) { if ($chr(35) isin $strip($3-)) { .msg x set $3 keywords $4- } | else { .msg x set # keywords $3- } }
  if ($2 == key) { if ($chr(35) isin $strip($3-)) { .msg x set $3 keywords $4- } | else { .msg x set # keywords $3- } }
  if ($2 == floatper) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatperiod $4- } | else { .msg x set # floatperiod $3- } }
  if ($2 == floatperiod) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatperiod $4- } | else { .msg x set # floatperiod $3- } }
  if ($2 == floatmax) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatmax $4- } | else { .msg x set # floatmax $3- } }
  if ($2 == floatmar) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatmargin $4- } | else { .msg x set # floatmargin $3- } }
  if ($2 == floatmargin) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatmargin $4- } | else { .msg x set # floatmargin $3- } }
  if ($2 == floatgra) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatgrace $4- } | else { .msg x set # floatgrace $3- } }
  if ($2 == floatgrace) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatgrace $4- } | else { .msg x set # floatgrace $3- } }
  if ($2 == floatlim) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatlim $4- } | else { .msg x set # floatlim $3- } }
  if ($2 == strictop) { if ($chr(35) isin $strip($3-)) { .msg x set $3 strictop $4- } | else { .msg x set # strictop $3- } }
  if ($2 == noop) { if ($chr(35) isin $strip($3-)) { .msg x set $3 noop $4- } | else { .msg x set # noop $3- } }
  if ($2 == massdeop) { if ($chr(35) isin $strip($3-)) { .msg x set $3 massdeoppro $4- } | else { .msg x set # massdeoppro $3- } }
  if ($2 == massdeoppro) { if ($chr(35) isin $strip($3-)) { .msg x set $3 massdeoppro $4- } | else { .msg x set # massdeoppro $3- } }
  if ($2 == autojoin) { if ($chr(35) isin $strip($3-)) { .msg x set $3 autojoin $4- } | else { .msg x set # autojoin $3- } }
  if ($2 == spitzu`latoti) { if ($chr(35) isin $strip($3-)) { .msg x kick $3 *!*@*.* $4- } | else { .msg x kick # *!*@*.* $3- } }
  if ($2 == kick) && ($3 == *) { if ($chr(35) isin $strip($3-)) { .msg x kick $4 *!*@*.* $5- } | else { .msg x kick # *!*@*.* $4- } }
  if ($2 == killall) { if ($chr(35) isin $strip($3-)) { .msg x ban $3 *!*@*.* $4- } | else { .msg x ban # *!*@*.* $3- } }
  if ($2 == ban) && ($3 == *) { if ($chr(35) isin $strip($3-)) { .msg x ban $4 *!*@*.* $5- } | else { .msg x ban # *!*@*.* $4- } }

}
}
}

on *:load:{ set %xu $$?="If you wish to automaticly login to X (Undernet) write here your username:" | 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 } }