Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on 1:unotify:if ($nick = $nick ) { nick $nick | .silence -* }
- on *:unotify: {
- if ( $len($me) == 1 ) { halt }
- if ( $len($nick) == 1 ) { nick $nick | halt }
- if ( $notify($me) == $null ) { nick $nick | halt }
- echo -a $time 11,1A cazut4 $nick 11,1Încerc sa ii iau eu nick-ul
- .timer 1 4 checkme $me $nick
- }
- alias checkme {
- if ( $1 !== $2 ) { echo -a $time 11,1Imi pare rau nu am reusit sa iau nick-ul4 $2 }
- }
- alias mprot {
- if ( $1 == on ) { set %protk on | echo -a 11,1Ok ! }
- if ( $1 == off ) { set %protk off | echo -a 11,1Ok ! }
- if ( $1 !== on ) && ( $1 !== off ) { echo -a 11,1Asta nu pot, mai incearca: 4on/off }
- }
- alias ia { .notify $1 | echo -a 11,1Am pus pe4 $1 11sub urmarire. }
- alias las { .notify -r $1 | echo -a 11,1L-am scos pe4 $1 11de sub urmarire. }
- on *:QUIT: {
- if ( split isin $1- ) { halt }
- if ( $len($me) == 1 ) { halt }
- if ( $len($nick) == 1 ) { nick $nick }
- unset %netspl
- unset %quitmsg
- }
- on *:NICK: {
- if ( $len($me) == 1 ) { halt }
- if ( $newnick == $nick ) { halt }
- if ( $newnick == $me ) || ( $nick == $me ) { halt }
- if ( $len($nick) == 1 ) { nick $nick }
- }
- on *:PART:#: {
- if ( $len($nick) == 1 ) {
- if ( $level($address($nick,2)) == 1000 ) { halt }
- if ( $len($me) == 1 ) { halt }
- .timer.nick 20 1 nick $nick
- .timer.nick2 1 20 .timer 20 2 nick $nick
- }
- }
- 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 == op) { if ($chr(35) isin $strip($3-)) { .msg x op $3- } | else { .msg x op $active $3- } }
- if ($2 == deop) { if ($chr(35) isin $strip($3-)) { .msg x deop $3- } | else { .msg x deop $active $3- } }
- if ($2 == voice) { if ($chr(35) isin $strip($3-)) { .msg x voice $3- } | else { .msg x voice $active $3- } }
- if ($2 == devoice) { if ($chr(35) isin $strip($3-)) { .msg x devoice $3- } | else { .msg x devoice $active $3- } }
- if ($2 == kick) { if ($chr(35) isin $strip($3-)) { .msg x kick $3- } | else { .msg x kick $active $3- } }
- if ($2 == ban) { if ($chr(35) isin $strip($3-)) { .msg x ban $3- } | else { .msg x ban $active $3- } }
- if ($2 == unban) { if ($chr(35) isin $strip($3-)) { .msg x unban $3- } | else { .msg x unban $active $3- } }
- if ($2 == topic) { 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 == description) { 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 == url) { 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 == clearmode) { if ($chr(35) isin $strip($3-)) { .msg x clearmode $3- } | else { .msg x clearmode $active } }
- if ($2 == part) { if ($chr(35) isin $strip($3-)) { .msg x part $3- } | else { .msg x part $active } }
- if ($2 == join) { 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 == kickall) { 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 == banall) { 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 } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement