Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -leakerscript v1-
- on *:start: {
- //timestamp -f 14<05 $+ HH $+ 14:05 $+ nn $+ 14:05 $+ ss 05tt14>
- echo -a 14(4leaker14@4script14) 1: Hello, $me $+ , Thank you for using leaker script!
- echo -a 14(4leaker14@4script14) 1: If you need any more help, try to seek me in Quakenet in the channel #leaker
- echo -a 14(4leaker14@4script14) 1: Enjoy leakerscript v1!
- //username LeakerscriptV1
- if (%afkm == ON) { set %afkm OFF }
- if (%ignorepm == ON) { set %ignorepm OFF }
- }
- on *:connect: {
- if (%mpx == ON) { //mode $me +x }
- if (%mpr == ON) { //mode $me +R }
- if (%mpi == ON) { //mode $me +i }
- if (%mpw == ON) { //mode $me +w }
- if (%Qa) && (%Qp) && ($Network == Quakenet) { .msg Q@CServe.quakenet.org AUTH %Qa %QP }
- if (%Qa) && (%Qp) && ($serverip == %bnc-server) { .msg Q@CServe.quakenet.org AUTH %Qa %Qp }
- if ($Network == quakenet) { .timer 1 3 join #leaker-script }
- if ($serverip == %bnc-server) { .timer 1 3 join #leaker-script }
- set %sver v1 BETA
- fullname Leaker@script
- //username LeakerscriptV1
- }
- on *:open:*: {
- if (!%open) {
- var %rc = $+ $r(2,13)
- if (%AML1) && (!%AML2) && (%ignorepm !== ON) && (%afkm !== ON) && (!%kflood) { .timer 1 2 msg $nick 14« 5 $+ %AML1 14» | .timer 1 3 msg $nick 14« 5By The Way.. I Am Using Leakerscript V1 14» }
- if (%AML1) && (%AML2) && (%ignorepm !== ON) && (%afkm !== ON) && (!%kflood) { .timer 1 1 msg $nick 14« 5 $+ %AML1 14» | .timer 1 2 msg $nick 14« 5 $+ %AML2 14» | .timer 1 3 msg $nick 14« 5By The Way.. I Am Using Leakerscript V1 14» }
- if (%AML1) && (!%AML2) && (%ignorepm !== ON) && (%afkm == ON) && (!%kflood) { msg $nick 14« 5Sorry 14 $+ $nick $+ , 5I am currently 3AFK5. Please try to msg me later. 14» | .timer 1 1 msg $nick 14« 5By The Way.. I Am Using Leakerscript V1 14» }
- if (%AML1) && (%AML2) && (%ignorepm !== ON) && (%afkm == on) && (!%kflood) { msg $nick 14« 5Sorry 14 $+ $nick $+ , 5I am currently 3AFK5. Please try to msg me later. 14» | .timer 1 1 msg $nick 14« 5By The Way.. I Am Using Leakerscript V1 14» }
- if (%AML1) && (!%AML2) && (%ignorepm == ON) && (!%ipmflood) { msg $nick 14« 5Sorry 14 $+ $nick $+ 5, 5I am currently 4IGNORING 5Private messages, please pm me later. 14» | .close -m $nick | .timer 1 3 .close -m $nick | .timer 1 6 .close -m $nick | .timer 1 1 msg $nick 14« 5By The Way.. I Am Using Leakerscript V1 14» }
- if (%AML1) && (%AML2) && (%ignorepm == ON) && (!%ipmflood) { msg $nick 14« 5Sorry 14 $+ $nick $+ 5, 5I am currently 4IGNORING 5Private messages, please pm me later. 14» | .close -m $nick | .timer 1 3 .close -m $nick | .timer 1 6 .close -m $nick | .timer 1 1 msg $nick 14« 5By The Way.. I Am Using Leakerscript V1 14» }
- set -ut %kflood 1
- set -u5 %open 1
- set -u3 %ipmflood 1
- }
- }
- On !*:Text:*:?:{
- if ($nick == %GBotNick) && ($dialog(leakergth)) {
- var %gms $remove($strip($1-),«,»,[,])
- did -ra leakergth 32 %gms
- }
- if (%pmsound == ON) && (%ignorepm !== ON) && (%afkm !== ON) && (!$dialog(leakergth)) && ($nick !== $Active) { splay Message.wav }
- var %rc = $+ $r(2,13)
- if ($nick !== $Active) && (%ignorepm !== ON) && (%afkm !== ON) && (!$dialog(leakergth)) {
- echo -ta 3• 99( $+ %scriptcolor $+ Message1) %scriptcolor $+ A %scriptcolor $+ M14essage %scriptcolor $+ F14rom %scriptcolor $+ $+ $nick $+ : $1- $+
- }
- elseif (%afkm == ON) { aline @Away ( $+ $time $+ ) ( $+ $nick $+ ) (Message: $1- $+ ) | close -m $nick }
- }
- -leakerscript on inputs-
- on *:input:*: {
- if ($1- == :D) { var %rc = $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32) | msg $target $replace(:D,:D,: $+ %rc $+ D) | haltdef }
- elseif ($1- == :P) { var %rc = $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32) | msg $target $replace(:P,:P,: $+ %rc $+ P) | haltdef }
- elseif ($1- == :S) { var %rc = $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32) | msg $target $replace(:S,:S,: $+ %rc $+ S) | haltdef }
- elseif ($1- == $+(:,$chr(41))) { msg $target $replace(: $+ $chr(41),: $+ $chr(41),: $+ $chr(3) $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32) $+ $+ $chr(41)) | haltdef }
- elseif ($1- == $+(:,$chr(40))) { msg $target $replace(: $+ $chr(40),: $+ $chr(40),: $+ $chr(3) $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32) $+ $+ $chr(40)) | haltdef }
- if ($target ischan) {
- var %rc = $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32)
- if ($1 == %ssign $+ bantag ) { msg q ban $active $2 $+ *!*@* }
- if ($1 == %ssign $+ unbantag ) { msg q unban $active $2 $+ *!*@* }
- if ($1 == %ssign $+ qnet) { .msg Q chanlev $active $2 $3 }
- if ($1 == %ssign $+ qban ) { /msg q permban $active $2 $3- }
- if ($1 == %ssign $+ qbanclear) { /msg Q banclear $active }
- if ($1 == !r) { msg # %r | halt }
- if ($1 == %ssign $+ getq) { /msg R requestbot $active }
- if ($1 == %ssign $+ chanmodes ) { /msg q chanmode $active $2 }
- if ($1 == %ssign $+ chanflags ) { /msg q chanflags $active $2 }
- if ($1 == %ssign $+ closepme) { close -m | haltdef | msg $chan 15« %Scriptcolor $+ All pm's closed. 15»15 }
- if ($1 == %ssign $+ fishbot ) { /invite fishbot $active }
- if ($1 == %ssign $+ steamid) { var %cl = $+ $r(1,15) | .timer -m 1 0.3 msg # 14« %cl $+ %steamid 14» 14( $+ %cl $+ Leaker@Script $+ 14) }
- if ($1 == %ssign $+ lock) { .msg Q permban $active *!*@* }
- if ($1 == -amno) { .msg q chanlev $active $2 -amno }
- if ($1 == %ssign $+ beep) { msg $chan %rc $+ 14[ $+ %rc $+ B14ee $+ %rc $+ P $+ %rc $+ 14] %rc $+ $left($snicks,1) $+ 14 $+ $mid($snicks,2,$calc($len($snicks) -2)) $+ %rc $+ $right($snicks,1) $+ %rc 14[ $+ %rc $+ B14ee $+ %rc $+ P $+ %rc $+ 14] | halt }
- if ($1 == %ssign $+ respect) { msg $chan %rc $+ «15Respect $+ %rc $+ » 14 $+ «15Respect $+ %rc $+ » | halt }
- if ($1 == %ssign $+ nick) { msg $chan 1« $+ %rc $+ $snicks $+ 1» :: $2- | halt }
- if ($1 == %ssign $+ amno) { .msg Q chanlev # $2 +amo | set -u8 %giveowner on | .timer 1 1 .msg q giveowner # $2 | set %qqOWNER # $2 | /mode # +o $2 }
- if ($1 == %ssign $+ amo) { .msg Q chanlev # $2 +amo }
- if ($1 == -amo) { .msg Q chanlev # $2 -amo }
- if ($1 == %ssign $+ ao) { .msg Q chanlev $active $2 +ao }
- if ($1 == %ssign $+ b) { .ban # $2 $+ *!*@* }
- if ($1 == -b) { .mode $chan -b $2 $+ *!*@* }
- if ($1 == -ao) { .msg Q chanlev $active $2 -ao }
- if ($1 == %ssign $+ av) { .msg Q chanlev $active $2 +gv }
- if ($1 == %ssign $+ o) && ($2) && ($me isop #) { var %x 1 | while ($nick(#,%x,r)) { var %y $v1 | if (* $+ $2 $+ * iswm %y) { mode # +o %y } | inc %x } }
- if ($1 == -o) && ($2) && ($me isop #) { var %x 1 | while ($nick(#,%x,o)) { var %y $v1 | if (* $+ $2 $+ * iswm %y) { mode # -o %y } | inc %x } }
- if ($1 == %ssign $+ v) && ($2) && ($me isop #) { var %x 1 | while ($nick(#,%x,r)) { var %y $v1 | if (* $+ $2 $+ * iswm %y) { mode # +v %y } | inc %x } }
- if ($1 == -v) && ($2) && ($me isop #) { var %x 1 | while ($nick(#,%x,v)) { var %y $v1 | if (* $+ $2 $+ * iswm %y) { mode # -v %y } | inc %x } }
- if ($1 == -av) { .msg Q chanlev $active $2 -gv }
- if ($1 == %ssign $+ welcome) { .msg Q chanflags $active +w | .msg Q welcome $active $2- }
- if ($1 == %ssign $+ qtopic) { .msg Q settopic $active $2- }
- if ($1 == %ssign $+ bc) { .mode $active -b *!*@* }
- if ($1 == %ssign $+ rop) { .msg R requestop $Active }
- if ($1 == %ssign $+ snailbot) { /invite snailbot $active }
- if ($1 == %ssign $+ catbot) { /invite catbot $active }
- if ($1 == %ssign $+ i) { /invite $2 $active | /msg $active $+ %rc $+ $2 H14as %rc $+ B14een %rc $+ I14nvited %rc $+ T14o $+ %rc $+ $active }
- if ($1 == %ssign $+ qt) { msg Q settopic $active $2- }
- if ($1 == %ssign $+ triviabot ) { /invite triviabot $active }
- if ($1 == %ssign $+ wowbot ) { /invite wowbot $active }
- if ($1 == %ssign $+ t ) { topic $active $2- }
- if ($1 == %ssign $+ me ) && (Q ison #) { msg q chanlev $active $me }
- if ($1 == %ssign $+ mode) && ($2) {
- mode # + $+ $2
- msg $chan 14« $+ %rc $+ Mode $+ 14 $+ » 14 $+ $2- 14« $+ %rc $+ Mode $+ 14 $+ »
- halt
- }
- }
- }
- alias checkb {
- if ($readini(musers.ini,black,$address($nick,2))) {
- var %rc = $+ $gettok(2 3 4 5 6 7 9 10 11 12,$r(2,11),32)
- ban # $address($nick,2)
- kick # $nick %rc $+ B14lacklisted %rc $+ D14etected $+ %rc $+ ! 14— $+ %rc $+ › 14( $+ %rc $+ $nick $+ 14) 14¬ 14( $+ %rc $+ $wildsite $+ 14) %rc $+ R14eason: $+ %rc $readini(musers.ini,black,$address($nick,2)) 14( $+ %rc $+ Leaker14@ $+ %rc $+ Script $+ 14)
- }
- }
- alias checkf {
- if ($readini(musers.ini,friend,$address($nick,2)) == 1) {
- var %rc = $+ $gettok(2 3 4 5 6 7 9 10 11 12,$r(2,11),32)
- msg # %rc $+ F14riend %rc $+ D14etected $+ %rc $+ ! 14— $+ %rc $+ › 14( $+ %rc $+ $nick $+ 14) 14¬ 14( $+ %rc $+ $wildsite $+ 14) ( $+ %rc $+ L14eaker14@ $+ %rc $+ S14cript $+ 14)
- }
- }
- on !*:join:#:{
- var %w = $ini(infolines.ini,$address($nick,2))
- if (%w) && (!%flood) {
- var %xc = $chr(3) $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32)
- var %c1 = $wildsite
- if (users.quakenet isin %c1) {
- var %c2 $remove(%c1,*!*@,.users.quakenet.org)
- var %c3 14*!*@ $+ %xc $+ $+ %c2 $+ 14.users.quakenet.org
- }
- var %a = $infonum1(%w) , %y = $r(1,%a)
- msg # %xc $+ I14nfoline — $+ %xc $+ › 14( $+ %xc $+ $nick $+ 14) 14¬ ( $+ %xc $+ %c3 $+ 14) 14[ $+ %xc $+ $+ %y $+ 14/ $+ %xc $+ $+ %a $+ 14] : $+ %xc $readini(infolines.ini,$address($nick,2),$ini(infolines.ini,%w,%y)) 14( $+ %xc $+ L14eaker14@ $+ %xc $+ S14cript14)
- unset %wild
- }
- set -u3 %flood 1
- if ($readini(musers.ini,friend,$address($nick,2)) == 1) && (!%flood1) {
- var %rc = $chr(3) $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32)
- var %a1 = $wildsite
- if (users.quakenet isin %a1) {
- var %a2 $remove(%a1,*!*@,.users.quakenet.org)
- var %a3 14*!*@ $+ %rc $+ $+ %a2 $+ 14.users.quakenet.org
- }
- msg # %rc $+ F14riend %rc $+ D14etected $+ %rc $+ ! 14— $+ %rc $+ › 14( $+ %rc $+ $nick $+ 14) 14¬ 14( $+ %rc $+ %a3 $+ 14) ( $+ %rc $+ L14eaker14@ $+ %rc $+ S14cript $+ 14)
- unset %wild
- unset %rc
- }
- set -u3 %flood1 1
- if ($readini(musers.ini,black,$address($nick,2))) && (!%flood2) && ($me isop #) {
- var %rc = $+ $gettok(2 3 4 5 6 7 9 10 11 12,$r(2,11),32)
- var %v1 = $wildsite
- if (users.quakenet isin %v1) {
- var %v2 $remove(%v1,*!*@,.users.quakenet.org)
- var %v3 14*!*@ $+ %rc $+ $+ %v2 $+ 14.users.quakenet.org
- }
- ban # $address($nick,2)
- kick # $nick %rc $+ B14lacklisted %rc $+ D14etected $+ %rc $+ ! 14— $+ %rc $+ › 14( $+ %rc $+ $nick $+ 14) 14¬ 14( $+ %rc $+ %v3 $+ 14) %rc $+ R14eason: $+ %rc $readini(musers.ini,black,$address($nick,2)) 14( $+ %rc $+ Leaker14@ $+ %rc $+ Script $+ 14)
- unset %wild
- }
- set -u1 %flood2 1
- }
- -leakerscript design-
- on ^*:join:#: {
- if ($nick == $me) { echo -t # 3• %scriptcolorrr $+ ( $+ %scriptcolor $+ Join $+ %scriptcolorrr $+ ) %scriptcolor $+ Y14ou %scriptcolor $+ H14ave %scriptcolor $+ J14oined %scriptcolor $+ $+ $chan $+ | haltdef }
- elseif ($nick != $me) { echo -t # 3• %scriptcolorrr $+ ( $+ %scriptcolor $+ Join $+ %scriptcolorrr $+ ) %scriptcolor $+ $left($nick,1) $+ 14 $+ $mid($nick,2,$calc($len($nick) -2)) $+ %scriptcolor $+ $right($nick,1) 14( $+ %scriptcolor $+ $+ $+($gettok($address,1,64),@,$gettok($address,2-,64),) $+ 14) %scriptcolor $+ H14as %scriptcolor $+ J14oined %scriptcolor $+ $+ $chan $+ | haltdef }
- }
- on ^*:part:#: {
- if ($nick == $me) { var %c8 $r(1,15) | .msg $chan $+ %c8 $+ I14m $+ %c8 $+ U14sing $+ %c8 $+ L14eaker $+ %c8 $+ S14cript $+ %c8 }
- if ($nick == $me) { echo -t # 4• %scriptcolorrr $+ ( $+ %scriptcolor $+ Part $+ %scriptcolorrr $+ ) %scriptcolor $+ Y14ou %scriptcolor $+ H14ave %scriptcolor $+ L14eft %scriptcolor $+ $+ $chan $+ | haltdef }
- elseif ($nick != $me) { echo -t # 4• %scriptcolorrr $+ ( $+ %scriptcolor $+ Part $+ %scriptcolorrr $+ ) %scriptcolor $+ $left($nick,1) $+ 14 $+ $mid($nick,2,$calc($len($nick) -2)) $+ %scriptcolor $+ $right($nick,1) 14( $+ %scriptcolor $+ $+ $+($gettok($address,1,64),@,$gettok($address,2-,64),) $+ 14) %scriptcolor $+ H14as %scriptcolor $+ L14eft %scriptcolor $+ $+ $chan $+ | haltdef }
- }
- on ^*:rawmode:#: {
- if ($nick == $me) && (($1 != +v) || ($1 != -v) || ($1 != +o) || ($1 != -o)) {
- echo -t # 3• %scriptcolorrr $+ ( $+ %Scriptcolor $+ Mode $+ %scriptcolorrr $+ ) %scriptcolor $+ Y14ou %scriptcolor $+ H14ave %scriptcolor $+ S14et %scriptcolor $+ M14ode: %scriptcolor $+ $iif(+ isin $1,$1-,$1-) | haltdef }
- if ($nick = $me) && ($1 == +v) {
- echo -t # You have voiced $2- | haltdef
- }
- if ($nick != $me) && (($1 !== +v) || ($1 !== -v) || ($1 !== +o) || ($1 !== -o)) {
- echo -t # 3• %scriptcolorrr $+ ( $+ %scriptcolor $+ Mode $+ %scriptcolorrr $+ ) %scriptcolor $+ $nick %scriptcolor $+ S14et %scriptcolor $+ M14ode: %scriptcolor $+ $iif(+ isin $1,$1-,$1-)
- haltdef }
- }
- on ^*:quit: {
- var %z 1
- while (%z <= $comchan($nick,0)) {
- if ($nick == $me) { echo -t $comchan($nick,%z) 4• %scriptcolorrr $+ ( $+ %scriptcolor $+ Quit $+ %scriptcolorrr $+ ) %scriptcolor $+ Y14ou %scriptcolor $+ H14ave 4QUIT %scriptcolor $+ T14he %scriptcolor $+ N14etwork: %scriptcolor $+ $network $+ 14 | inc %z }
- elseif ($nick != $me) { echo -t $comchan($nick,%z) 4• %scriptcolorrr $+ ( $+ %scriptcolor $+ Quit $+ %scriptcolorrr $+ ) %scriptcolor $+ $left($nick,1) $+ 14 $+ $mid($nick,2,$calc($len($nick) -2)) $+ %scriptcolor $+ $right($nick,1) $+ %scriptcolor ( $+ %scriptcolor $+ $+ $+($gettok($address,1,64),@,$gettok($address,2-,64),) $+ 14) %scriptcolor $+ H14as %scriptcolor $+ Q14uit 14( $+ %scriptcolor $+ R14eason: %scriptcolor $+ $1- $+ 14) | inc %z }
- }
- haltdef
- }
- on ^*:text:*:*: {
- if ($1 == !credits) && (!%flood) { msg # » %scriptcolor $+ Leakerscript V1 1» | set -u5 %flood 1 }
- if (*#* iswm $1-) && ($nick isreg #) && ($me isop #) && ($nick !isvoice #) && ($nick !isop #) && (%security == on) && ($nick !== $me) { ban -k # $nick 1Please do NOT Advertise here. }
- if ($target ischan) && ($target == $chan) {
- if ($nick != $me) {
- if ($nick isop $chan) { echo -t $chan 1< $+ 12 $+ @ $+ %Scriptcolor $+ $left($nick,1) $+ 14 $+ $mid($nick,2,$calc($len($nick) -2)) $+ %scriptcolor $+ $right($nick,1) $+ 1> $1- | haltdef }
- elseif ($nick isvoice $chan) { echo -t $chan 1< $+ 4 $+ + $+ %Scriptcolor $+ $left($nick,1) $+ 14 $+ $mid($nick,2,$calc($len($nick) -2)) $+ %scriptcolor $+ $right($nick,1) $+ 1> $1- | haltdef }
- else { echo -t $chan 1< $+ %Scriptcolor $+ $left($nick,1) $+ 14 $+ $mid($nick,2,$calc($len($nick) -2)) $+ %scriptcolor $+ $right($nick,1) $+ 1> $1- | haltdef }
- }
- }
- }
- raw 311:*:{ echo - 14 $2 $3 $+ @ $+ $4 $5 $6- | haltdef }
- raw 332:*:{ echo -at 3• %scriptcolorrr $+ ( $+ %scriptcolor $+ Topic $+ %scriptcolorrr $+ ) %scriptcolor $+ $2 T14opic %scriptcolor $+ I14s 1" $+ %scriptcolor $+ $3- $+ $chr(15) $+ 1" | haltdef }
- raw 333:*:{ echo -at 3• %scriptcolorrr $+ ( $+ %scriptcolor $+ Topic $+ %scriptcolorrr $+ ) %scriptcolor $+ $2 T14opic %scriptcolor $+ S14et %scriptcolor $+ B14y %scriptcolor $+ $gettok($3,1,33) | haltdef }
- raw 401:*:{ echo -t %scriptcolor $+ N $+ %scriptcolorrr $+ o such nick %scriptcolor $+ $+ $2 | haltdef }
- raw 403:*:{ echo -t %scriptcolor $+ N $+ %scriptcolorrr $+ o such channel %scriptcolor $+ $+ $2 | haltdef }
- raw 404:*:{ echo -at %scriptcolor $+ C $+ %scriptcolorrr $+ annot send to channel ( $+ %scriptcolor $+ $+ $2 $+ %scriptcolorrr $+ ) 14: %scriptcolor $+ C $+ %scriptcolorrr $+ hannel is muted or you are banned. | haltdef }
- raw 405:*:{ echo -t %scriptcolor $+ C $+ %scriptcolorrr $+ annot join channel ( $+ %scriptcolor $+ $+ $2 $+ %scriptcolorrr $+ ) 14: %scriptcolor $+ T $+ %scriptcolorrr $+ oo many channels are open. | haltdef }
- raw 421:*:{ echo -t %scriptcolor $+ $+ $2 $+ U $+ %scriptcolorrr $+ nknown command. | haltdef }
- raw 431:*:{ echo -t %scriptcolor $+ N $+ %scriptcolorrr $+ o nick was given. | haltdef }
- raw 432:*:{ echo -t %scriptcolor $+ $+ $2 $+ I $+ %scriptcolorrr $+ nvalid nickname. | haltdef }
- raw 433:*:{ echo -t %scriptcolor $+ $+ $2 $+ N $+ %scriptcolorrr $+ ick already in use. | haltdef }
- raw 437:*:{ echo -t 14( $+ %scriptcolor $+ $+ $2 $+ %scriptcolorrr $+ ) 14: %scriptcolor $+ C $+ %scriptcolorrr $+ annot change nick while channel is muted or you are banned on channel. | Haltdef }
- raw 438:*:{ echo -a $me : Nick change too fast, please wait $9 seconds | haltdef }
- raw 439:*:{ echo -a Target change too fast, please wait $9 seconds. | haltdef }
- raw 441:*:{ echo -t %scriptcolor $+ $+ $2 $+ %scriptcolorrr $+ ( $+ %scriptcolor $+ $+ $3 $+ %scriptcolorrr $+ ) %scriptcolor $+ T $+ %scriptcolorrr $+ hey aren't on that channel. %scriptcolor $+ (1Invalid target $+ %scriptcolor $+ ) | haltdef }
- raw 442:*:{ echo -a %scriptcolor $+ $+ $me $+ %scriptcolorrr $+ ( $+ %scriptcolor $+ $+ $2 $+ $+ %scriptcolorrr $+ ) 14: %scriptcolor $+ Y $+ %scriptcolorrr $+ ou are not on that channel. | haltdef }
- raw 451:*:{ echo -at $me : Please register first | haltdef }
- raw 471:*:{ echo -t %scriptcolor $+ C $+ %scriptcolorrr $+ annot join channel $+ %scriptcolor $+ $2 $+ 14: %scriptcolor $+ C $+ %scriptcolorrr $+ hannel is full. %scriptcolor $+ (1+l $+ %scriptcolor $+ ) | haltdef }
- raw 474:*:{ echo -t %scriptcolor $+ C $+ %scriptcolorrr $+ annot join channel $+ %scriptcolor $+ $2 $+ 14: %scriptcolor $+ Y $+ %scriptcolorrr $+ ou are banned from this channel. %scriptcolor $+ (1+b $+ %scriptcolor $+ ) | haltdef }
- raw 473:*:{ echo -t %scriptcolor $+ C $+ %scriptcolorrr $+ annot join channel $+ %scriptcolor $+ $2 $+ 14: %scriptcolor $+ I $+ %scriptcolorrr $+ nvite only. %scriptcolor $+ (1+i $+ %scriptcolor $+ ) | haltdef }
- raw 485:*:{ echo -t Cannot join to channel : ( $+ $2 $+ ) | Haltdef }
- on ^*:action:*:#: {
- if ($nick isop $chan) { echo -t $chan 3• %scriptcolorrr $+ ( $+ %scriptcolor $+ Action $+ %scriptcolorrr $+ ) 12@ $+ %scriptcolor $+ $nick S14ays : $1- | haltdef }
- elseif ($nick isvoice $chan) { echo -t $chan 3• %scriptcolorrr $+ ( $+ %scriptcolor $+ Action $+ %scriptcolorrr $+ ) 4+ $+ %scriptcolor $+ $nick S14ays : $1- | haltdef }
- else { echo -t $chan 3• %scriptcolorrr $+ ( $+ %scriptcolor $+ Action $+ %scriptcolorrr $+ ) %scriptcolor $+ $nick S14ays : $1- | haltdef }
- }
- on ^*:error:*: { echo -st 4• 1( $+ %scriptcolor $+ Error1) :1 $2- | haltdef }
- on ^*:notice:*:#: { echo -t # 3• %scriptcolorrr $+ ( $+ %scriptcolor $+ Channel Notice $+ %scriptcolorrr $+ ) %scriptcolor $+ $nick %scriptcolor $+ S14ays : 1 $+ $1- | haltdef }
- on ^*:notice:*:?: { echo -at %scriptcolorrr $+ ( $+ %scriptcolor $+ Private Notice $+ %scriptcolorrr $+ ) %scriptcolor $+ $nick %scriptcolor $+ S14ays : 1 $+ $1- | haltdef }
- on !*:op:#:{
- if ($opnick == $me) && (!%flood) {
- var %rc = $+ $r(3,12)
- inc %ops
- //msg # $checkos
- set -u1 %flood 1
- }
- }
- on !*:voice:#:{
- if ($vnick == $me) && (!%flood) {
- var %rc = $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32)
- inc %voices
- //msg # $checkvs
- set -u1 %flood 1
- }
- }
- -leakerscript menus-
- menu * {
- -
- Main { dialog -m main main }
- -
- }
- menu nicklist {
- Add
- .Infoline {
- var %x $address($$1,2)
- var %y $$?="Infoline"
- writeini -n infolines.ini %x Info $+ $calc(1-1+$infonum(%x)) %y
- }
- .Friend {
- var %x $address($$1,2)
- writeini -n musers.ini friend %x 1
- }
- .Black {
- var %x $address($$1,2)
- var %y $$?="Reason"
- var %g $$!
- .writeini -n musers.ini black %x %g
- .kick # $$1 You have been added to my blacklist.
- }
- }
- -leakerscript dialogs-
- dialog leakermd {
- title "Multi Friend/Black/Infoline list Dialog - leakerscript-v1"
- size -1 -1 181 137
- option dbu
- tab "Friend list", 9, 1 1 177 132
- button "Add QAcc", 10, 20 20 37 12, tab 9
- button "Delete", 11, 70 20 37 12, tab 9
- button "Add", 12, 120 20 37 12, tab 9
- list 14, 10 36 157 62, tab 9 size vsbar
- button "OK", 15, 69 101 37 12, tab 9
- text "Friend list by leaker - dont change credit!", 16, 14 118 145 8, tab 9 center
- tab "Black list", 1
- button "Add QAcc", 2, 20 20 37 12, tab 1
- button "Delete", 3, 70 20 37 12, tab 1
- button "Add", 4, 120 20 37 12, tab 1
- list 6, 10 36 157 62, tab 1 size vsbar
- button "OK", 7, 69 101 37 12, tab 1
- text "Black list by leaker - dont change credit!", 8, 14 118 145 8, tab 1 center
- tab "Infoline", 5
- list 13, 3 17 118 56, tab 5 size vsbar
- list 17, 3 74 118 46, tab 5 size vsbar
- text "Multi Infoline By Leaker And Nix", 19, 44 122 105 9, disable tab 5 center
- button "Add QAcc", 20, 132 19 37 12, tab 5
- button "Delete", 21, 132 35 37 12, tab 5
- button "Add", 22, 132 50 37 12, tab 5
- button "Add Info", 23, 132 83 37 12, tab 5
- button "Delete Info", 24, 132 99 37 12, tab 5
- }
- on *:dialog:*:*:*:{
- if ($devent == sclick) {
- if ($dname == update) {
- if ($did == 1) {
- update
- did -ra update 4 Updating leakerscript..
- }
- }
- elseif ($dname == leakeras) {
- if ($did == 2) { did -ra $dname 3 Sleeping! }
- if ($did == 5) { did -ra $dname 3 Eating }
- if ($did == 6) { did -ra $dname 3 In school. }
- if ($did == 12) { dialog -x leakeras leakeras }
- if ($did == 1) {
- set %AFT $time
- set %ATC $did(9)
- nick $did(13)
- set %ARA $did(3)
- .timeraway 0 $calc(%ATC * 60) ame 15« 5I am still AFK! Since: %AFT $+ , Reason: %ARA 15» 14(5Leaker14@5Script14)
- ame 15« 5I am now AFK! Reason: %ARA 15» 14(5Leaker14@5Script14)
- }
- if ($did == 4) {
- .timeraway off
- unset %ara
- unset %atc
- unset %AFT
- }
- }
- elseif ($dname = leakersnc) {
- if ($did == 2) {
- if ($did(2).state != 0) { scriptcolor GREEN }
- }
- if ($did == 3) {
- if ($did(3).state != 0) { scriptcolor RED }
- }
- if ($did == 4) {
- if ($did(4).state != 0) { scriptcolor ORANGE }
- }
- if ($did == 5) {
- if ($did(5).state != 0) { scriptcolor PURPLE }
- }
- if ($did == 6) {
- if ($did(6).state != 0) { scriptcolor BLACK }
- }
- if ($did == 7) {
- if ($did(7).state != 0) { scriptcolor CYAN }
- }
- if ($did == 8) {
- if ($did(8).state != 0) { scriptcolor BLUE }
- }
- if ($did == 9) {
- if ($did(9).state != 0) { scriptcolor ORIGINAL }
- }
- if ($did == 13) { dialog -m vstyles vstyles }
- if ($did == 14) { dialog -m ostyles ostyles }
- if ($did == 11) {
- if ($did(11).state != 0) { set %pmsound ON }
- else { set %pmsound OFF }
- }
- }
- elseif ($dname == inb) {
- if ($did == 8) { dialog -m mhelper mhelper }
- if ($did == 11) { unset %AML1 | unset %AML2 | set %AML1 $did(3).seltext | set %AML2 $did(4).seltext }
- if ($did == 5) {
- if ($did(5).state != 0) { set %bncm ON | set %afkm OFF | set %ignorepm OFF | did -ra $dname 12 Bnc mode is now ON. }
- else { set %bncm OFF }
- }
- if ($did == 6) {
- if ($did(6).state != 0) { set %afkm ON | .timer 1 3 dialog -m leakeras leakeras | set %bncm OFF | set %ignorepm OFF | did -ra $dname 12 Opening afk custom dialog.. }
- else { set %afkm OFF }
- }
- if ($did == 7) {
- if ($did(7).state != 0) { set %ignorepm ON | set %pmsound OFF | set %bncm OFF | set %afkm OFF | did -ra $dname 12 Ignore PM Is now ON. }
- elseif ($did(7).state = 0) { set %ignorepm OFF }
- }
- if ($did == 10) {
- if ($did(10).state != 0) { set %afkm OFF | set %bncm OFF | set %ignorepm OFF | did -ra $dname 12 Everything is now OFF! (Bnc, AFK, Ignore pm) }
- else { set %bncm OFF | set %afkm OFF | set %ignorepm OFF }
- }
- }
- elseif ($dname == ostyles) {
- if ($did == 1) && ($did(6).state != 0) {
- set %opstyle 1
- did -ra $dname 4 Thanks
- }
- if ($did == 2) {
- set %opstyle 2
- }
- if ($did == 3) {
- set %opstyle 3
- }
- }
- elseif ($dname == qacci) {
- if ($did == 11) {
- if ($did(11).state != 0) { set %mpx ON }
- else { set %mpx OFF }
- }
- if ($did == 12) {
- if ($did(12).state != 0) { set %mpr ON }
- else { set %mpr OFF }
- }
- if ($did == 13) {
- if ($did(13).state != 0) { set %mpw ON }
- else { set %mpw OFF }
- }
- if ($did == 14) {
- if ($did(14).state != 0) { set %mpi ON }
- else { set %mpi OFF }
- }
- if ($did == 2) { msg Q@CServe.quakenet.org hello $did(1) $did(1) | did -ra $dname 3 Done! Secssuesfully opened a Q Account with the email ' $+ $did(1) $+ ', Please go verify it from your own email. }
- if ($did == 16) && (!%Qa) && (!%Qp) { set %Qa $did($dname,8) | set %Qp $did($dname,7) | did -ra $dname 3 Done! Q Account is set to ' $+ %qa $+ ' And Q Password is set to ' $+ %qp $+ ' $+ ! }
- elseif ($did == 16) && (%Qa) && (%Qp) { did -ra $dname 3 Q Account and Password are already set! Please unset them before setting new q account and password. }
- if ($did == 17) && (%Qa) && (%Qp) { unset %Qa | unset %Qp | did -ra $dname 3 Q Account and Password are unset! You can set new ones now. }
- elseif ($did == 17) (!%Qa) && (!%Qp) { did -ra $dname 3 There are no Q Account and Password set! Please set any Q Account and Password before unsetting. }
- }
- elseif ($dname == Main) {
- if ($did == 14) { dialog -x main main }
- if ($did == 6) { dialog -m leakermd leakermd }
- if ($did == 7) { dialog -m leakergth leakergth }
- if ($did == 9) { dialog -m leakersnc leakersnc }
- if ($did == 10) { dialog -m qacci qacci }
- if ($did == 11) { dialog -m credits credits }
- if ($did == 12) { dialog -md update update }
- if ($did == 8) { dialog -m inb inb }
- }
- elseif ($dname == leakermd) {
- if ($did == 15) { dialog -x leakermd leakermd }
- if ($did == 7) { dialog -x leakermd leakermd }
- if ($did == 18) { dialog -x leakermd leakermd }
- if ($did == 10) {
- writeini -n musers.ini friend *!*@ $+ $$?="QAccount:" $+ .users.quakenet.org 1
- did -a leakermd 14 *!*@ $+ $$! $+ .users.quakenet.org
- }
- if ($did == 13) && ($did($dname,13).seltext) {
- var %x = 1
- did -ra $dname 17
- did -d $dname 17 1
- while ($ini(infolines.ini,$did($dname,13).seltext,%x)) {
- var %y = info $+ %x
- did -a $dname 17 $readini(infolines.ini,$did(13).seltext,%y)
- inc %x
- }
- }
- if ($did == 20) {
- var %x = *!*@ $+ $$?="Q Account" $+ .users.quakenet.org
- var %y = $$?="Infoline"
- writeini -n infolines.ini %x Info $+ $calc(1-1+$infonum(%x)) %y
- did -a $dname 13 %x
- }
- if ($did == 22) {
- var %x = $$?="Full Host (including *!*@)"
- var %y = $$?="Infoline"
- writeini -n infolines.ini %x Info $+ $calc(1-1+$infonum(%x)) %y
- did -a $dname 13 %x
- }
- if ($did == 21) && ($did(13).seltext) {
- var %x $did(13).seltext
- remini infolines.ini %x
- did -d $dname 13 $did(13).sel
- did -r $dname 17
- }
- if ($did == 23) && ($did(13).seltext) {
- var %x = $did(13).seltext
- var %y = $$?="Infoline"
- writeini -n infolines.ini %x Info $+ $calc(1-1+$infonum(%x)) %y
- did -a $dname 17 %y
- }
- if ($did == 24) && ($did(13).seltext) {
- var %x = $did(13).seltext
- var %y = $did(17).seltext
- remini infolines.ini %x info $+ $did(17).sel
- did -d $dname 17 $did(17).sel
- }
- if ($did == 2) {
- var %x $$?="Q Account"
- var %y $$?="Reason?"
- if (%x !== $null) {
- writeini -n musers.ini black *!*@ $+ %x $+ .users.quakenet.org %y
- did -a leakermd 6 *!*@ $+ %x $+ .users.quakenet.org —› %y
- }
- }
- if ($did == 11) && ($did(14).seltext !== $null) {
- remini musers.ini friend $did(14).seltext
- did -d $dname 14 $did(14).sel
- }
- if ($did == 3) && ($did(6).seltext !== $null) {
- remini musers.ini black $did(6).seltext
- did -d $dname 6 $did(6).sel
- }
- if ($did == 12) {
- var %x $$?="Host"
- writeini -n musers.ini friend %x 1
- did -a leakermd 14 %x
- }
- if ($did == 4) {
- var %y $$?="Host"
- var %x $$?="Reason?"
- if (%x !== $null) {
- writeini -n musers.ini black %y %x
- did -a leakermd 6 %y —› %x
- }
- }
- }
- }
- elseif ($devent == init) {
- if ($dname == update) {
- did -ra update 2 leakerscript version : %sver
- }
- elseif ($dname == leakersnc) {
- if (GREEN isin %scriptcolorr) { did -c $dname 2 }
- if (RED isin %scriptcolorr) { did -c $dname 3 }
- if (ORANGE isin %scriptcolorr) { did -c $dname 4 }
- if (PURPLE isin %scriptcolorr) { did -c $dname 5 }
- if (BLACK isin %scriptcolorr) { did -c $dname 6 }
- if (CYAN isin %scriptcolorr) { did -c $dname 7 }
- if (BLUE isin %scriptcolorr) { did -c $dname 8 }
- if (ORIGINAL isin %scriptcolorr) { did -c $dname 9 }
- if (%pmsound == ON) { did -c $dname 11 }
- }
- elseif ($dname == inb) {
- if (%AML1) { did -ra $dname 3 %AML1 (Message 1) }
- if (%AML2) { did -ra $dname 4 %AML2 (Message 2) }
- if (%ignorepm == ON) { did -c $dname 7 }
- if (%bncm == ON) { did -c $dname 5 }
- if (%afkm == ON) { did -c $dname 6 }
- if (%afkm == OFF) && (%bncm == OFF) && (%ignorepm == OFF) { did -c $dname 10 }
- }
- elseif ($dname = qacci) {
- if (%mpx == ON) { did -c $dname 11 }
- if (%mpr == ON) { did -c $dname 12 }
- if (%mpw == ON) { did -c $dname 13 }
- if (%mpi == ON) { did -c $dname 14 }
- if (%Qa) && (%Qp) { did -ra $dname 8 %Qa | did -ra $dname 7 %Qp }
- }
- elseif ($dname == vstyles) {
- if (%voicestyle = 1) && (%voicearrows = 0) {
- did -ra $dname 4 Thanks (Nick ¬ Address) For The - num - Voice!
- }
- if (%voicestyle = 2) && (%voicearrows = 0) {
- did -ra $dname 4 Tnx Nick For The num Voices!
- }
- if (%voicestyle = 3) && (%voicearrows = 0) {
- did -ra $dname 4 Thank You nick - For The - num - Vo+ce!
- }
- }
- elseif ($dname == Main) {
- checktime
- checktime
- checktime
- .timerc 0 1 checktime
- }
- elseif ($dname == leakermd) {
- var %x = 1
- while ($ini(musers.ini,friend,%x)) {
- did -a leakermd 14 $v1
- inc %x
- }
- var %x = 1
- while ($ini(musers.ini,black,%x)) {
- did -a leakermd 6 $v1 —› $readini(musers.ini,black,$v1)
- inc %x
- }
- var %xa = 1 | while (%xa <= $ini(infolines.ini,0)) { did -a $dname 13 $ini(infolines.ini,%xa) | inc %xa }
- }
- }
- elseif ($devent == close) {
- if ($dname == Main) {
- .timerc off
- }
- }
- }
- dialog main {
- title "Leakerscript V1"
- size -1 -1 70 266
- option dbu
- box "Informaiton", 1, 3 1 65 109
- text "nick", 2, 7 9 57 8, disable center
- text "network", 3, 7 19 57 8, disable center
- text "time", 4, 7 29 57 8, disable center
- text "script ver", 5, 7 39 57 8, disable center
- button "Friend/Black/Infoline", 6, 3 111 65 12
- button "Gather Dialog", 7, 3 126 65 12
- button "Basic Informaiton", 8, 3 141 65 12
- button "Script Colors/Sounds", 9, 3 156 65 12
- button "Q Dialog", 10, 3 171 65 12
- button "Credits", 11, 3 186 65 12
- button "Update Dialog", 12, 3 201 65 12
- button "Help / Commands", 13, 3 216 65 12
- button "Close Dialog", 14, 3 252 65 12
- text "Ops", 15, 7 49 57 8, disable center
- text "Voices", 16, 7 59 57 8, disable center
- text "Uptime:", 17, 7 69 57 8, disable center
- text "$uptime(mirc,2)", 18, 7 79 57 8, disable center
- text "Internet IP:", 19, 7 89 57 8, disable center
- text "(Hidden)", 20, 7 99 57 8, disable center
- button "Away System", 21, 3 231 65 12
- }
- dialog qacci {
- title "Q Account window"
- size -1 -1 141 212
- option dbu
- edit "Enter in your email address here", 1, 7 8 128 20, center
- button "Open Q Acc", 2, 52 31 37 12
- edit "Status", 3, 7 46 128 36, read multi center
- box "Auto Q Login", 5, 7 82 128 126
- edit "Q User", 4, 18 112 50 10, read center
- edit "Q Password", 6, 72 112 50 10, read center
- edit "Q Password Here", 7, 72 127 50 10, center
- edit "Q User Here", 8, 18 127 50 10, center
- edit "Auto Q Login", 9, 44 96 50 10, read center
- edit "Auto Self Modes ", 10, 44 172 50 10, read center
- check "+x", 11, 49 186 19 10
- check "+R", 12, 74 186 23 10
- check "+w", 13, 49 196 22 10
- check "+i", 14, 74 196 22 10
- box "Q Window", 15, 1 0 139 211
- button "Set Pass and User", 16, 36 141 67 12
- button "Unset Pass and User", 17, 36 156 67 12
- }
- dialog leakergth {
- title "(Leakerscript V1) Gather window"
- size -1 -1 109 323
- option dbu
- edit "Leakerscript Gather Window", 1, 16 3 76 10, disable center
- edit "GBot User", 2, 5 22 42 10, read center
- edit "", 3, 48 22 55 10
- edit "GBot Pass", 4, 5 34 42 10, read center
- edit "", 5, 48 34 55 10
- box "Login Details", 6, 3 15 104 32
- box "Community Details", 7, 3 47 104 43
- edit "GBot #Chan", 8, 5 54 42 10, read center
- edit "GBot #Crew", 9, 5 66 42 10, read center
- edit "GBot Nick", 10, 5 78 42 10, read center
- edit "", 11, 48 54 55 10
- edit "", 12, 48 66 55 10
- edit "", 13, 48 78 55 10
- edit "Map (Shortcuts: dd2/inf/nuke)", 15, 5 160 100 10, center
- edit "Sign (!/@/+ And so on)", 14, 5 172 100 10, center
- box "Gather Informaiton", 16, 3 152 104 33
- box "Gather (Admin/master/owner) Helper", 17, 3 186 104 56
- edit "Admin/Master/Owner Level", 18, 5 194 100 10, center
- edit "Admin/Master/Owner Username", 19, 5 206 100 10, center
- edit "Admin/Master/Owner Password", 20, 5 218 100 10, center
- edit "Admin/Master/Owner STEAMID", 21, 5 230 100 10, center
- box "Buttons", 22, 3 243 104 79
- button "Login", 23, 5 264 48 12
- button "Logout", 24, 56 264 48 12
- button "Set my own info", 25, 5 250 99 12
- button "Run Gather", 26, 5 278 99 12
- button "Stop Gather", 27, 5 292 99 12
- button "Add User", 28, 5 306 48 12
- button "Delete User", 29, 56 306 48 12
- box "Status", 30, 3 91 104 60
- edit "- Status Line -", 31, 5 98 100 10, read multi center
- edit "Messages From Gatherbot", 32, 5 110 100 39, read multi center
- }
- dialog ostyles {
- title "Op Styles"
- size -1 -1 155 81
- option dbu
- button "Thanks (Nick ¬ Address) For The - num - @p! ", 1, 2 3 151 12
- button "Tnx Nick For The num @p!", 2, 2 17 151 12
- button "Thank You nick For The - num - @p!", 3, 2 31 151 12
- edit "%opstyle", 4, 2 69 151 10, center read
- text "Current Op Style Msg:", 5, 37 59 73 8, disable center
- check "Include «,» In Op Styles", 6, 37 47 151 10
- }
- dialog vstyles {
- title "Voice Styles"
- size -1 -1 155 81
- option dbu
- button "Thanks (Nick ¬ Address) For The - num - Voice! ", 1, 2 3 151 12
- button "Tnx Nick For The num Voice!", 2, 2 17 151 12
- button "Thank You nick For The - num - Vo+ce!", 3, 2 31 151 12
- edit "%voicestyle", 4, 2 69 151 10, center read
- text "Current Voice Style Msg:", 5, 37 59 73 8, disable center
- check "Include «,» In Voice Styles", 6, 37 47 151 10
- }
- dialog inb {
- title "Informaiton and Basics"
- size -1 -1 93 202
- option dbu
- edit "Informaiton and basics", 1, 7 6 77 10, read center
- edit "Auto Messages", 2, 21 17 50 10, read center
- edit "Message 1 here", 3, 7 56 77 33, multi center
- edit "Message 2 here", 4, 7 90 77 33, multi center
- radio "BNC MODE", 5, 22 142 50 10
- radio "AFK MODE", 6, 22 152 50 10
- radio "IGNORE MODE", 7, 22 163 50 10
- button "Modes Helper", 8, 19 186 49 12
- box "Informaiton and basics", 9, 1 -1 91 202
- radio "Normal MODE", 10, 22 173 50 10
- button "Set Messages", 11, 7 125 76 12
- edit "Status Line", 12, 7 29 77 26, read multi center
- }
- dialog mhelper {
- title "Mode Helper"
- size -1 -1 118 95
- option dbu
- edit "Mode Helper - leakerscript v1", 1, 3 3 112 10, read center
- text "- BNC Mode is when wanting to disconnect from mirc and setting your bnc on.", 2, 3 16 112 17, center
- text "- AFK Mode is when you want to go away from keyboard and mark yourself as away.", 3, 3 35 112 17, center
- text "- IGNORE Mode is when you want to disable your private messages and sounds.", 4, 3 54 112 17, center
- text "- Normal Mode - Self Explanitory, works like all normal mirc versions .", 5, 3 73 112 17, center
- box "", 6, 1 -1 116 95
- }
- dialog leakeras {
- title "Leakerscript v1 - Away system"
- size -1 -1 130 146
- option dbu
- button "Start away", 1, 63 115 49 12
- button "Stop away", 4, 63 129 48 12
- button "Sleeping", 2, 11 64 37 12
- button "Eating", 5, 11 79 37 12
- button "In school", 6, 11 94 37 12
- box "Away reasons", 7, 7 56 115 54, disable
- text "Show Away Message Every", 8, 9 44 68 8, disable center
- edit "x", 9, 79 44 13 10, center
- text "Minutes", 10, 93 44 25 8, disable center
- box "Away timer", 11, 7 36 115 20, disable
- button "Close dialog", 12, 23 116 37 25
- edit "Away Nick", 13, 11 14 106 20, center
- box "Away nick", 14, 7 7 115 29, disable
- box "Away system", 15, 2 0 125 145
- edit "Away reason", 3, 51 63 67 44, center multi
- }
- dialog leakersnc {
- title "Script sounds / script colors (Leakerscript V1)"
- size -1 -1 70 174
- option dbu
- edit "Script Colors", 1, 9 5 50 10, disable center
- radio "Green", 2, 10 16 50 10
- radio "Red", 3, 10 27 50 10
- radio "Orange", 4, 10 49 50 10
- radio "Purple", 5, 10 38 50 10
- radio "Black", 6, 10 71 50 10
- radio "Cyan (Light blue)", 7, 10 60 50 10
- radio "Blue", 8, 10 82 50 10
- radio "LS.V1 (Red'N'Grey)", 9, 10 92 72 11
- edit "Script sounds", 10, 9 104 50 10, disable center
- check "PM Sound", 11, 10 118 50 10
- edit "Voice & Op Styles", 12, 9 129 50 10, disable center
- button "Voice Styles", 13, 9 143 50 12
- button "Op Styles", 14, 9 158 50 12
- }
- dialog Credits {
- title "leakerscript-v1 Credits"
- size -1 -1 113 44
- option dbu
- box "Credits", 1, 1 -1 111 44
- text "leaker/FeelTired - script creator, all scripting", 2, 11 9 92 8, center
- text "Nix - Dialog helper/Multi Infoline", 3, 11 19 92 8, center
- text "syconn - Design, Update script.", 4, 11 29 93 8, center
- box "", 5, 7 4 99 36
- }
- -aliases-
- alias infonum {
- var %x = 1
- while ($ini(infolines.ini,$1,%x)) {
- inc %x
- }
- return %x
- }
- alias infonum1 {
- var %x = 1
- while ($ini(infolines.ini,$1,%x)) {
- inc %x
- }
- dec %x
- return %x
- }
- alias main { dialog -m main main }
- alias version { set %version 1 }
- alias checkvs {
- var %rc = $chr(3) $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32)
- if (%voicestyle = 1) && (%voicearrows = 0) {
- return %rc $+ T14hanks ( $+ %rc $+ $nick 14¬ $+ %rc $wildsite $+ 14) %rc $+ F14or %rc $+ T14he 14- $+ %rc %voices 14- %rc $+ V14oice! 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%voicestyle = 2) && (%voicearrows = 0) {
- return %rc $+ T14nx %rc $+ $+ $nick F14or %rc $+ T14he $+ %rc %voices %rc $+ V14oice! 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%voicestyle = 3) && (%voicearrows = 0) {
- return %rc $+ T14hank %rc $+ Y14ou $+ %rc $+ $nick 14- %rc $+ F14or %rc $+ T14he - $+ %rc %voices 14- %rc $+ V14o4+14ce! 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%voicestyle = 1) && (%voicearrows = 1) {
- return %rc $+ « T14hanks ( $+ %rc $+ $nick 14¬ $+ %rc $wildsite $+ 14) %rc $+ F14or %rc $+ T14he 14- $+ %rc %voices 14- %rc $+ V14oice! %rc $+ » 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%voicestyle = 2) && (%voicearrows = 1) {
- return %rc $+ « T14nx %rc $+ $+ $nick F14or %rc $+ T14he $+ %rc %voices %rc $+ V14oice! %rc $+ » 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%voicestyle = 3) && (%voicearrows = 1) {
- return %rc $+ « T14hank %rc $+ Y14ou $+ %rc $+ $nick 14- %rc $+ F14or %rc $+ T14he - $+ %rc %voices 14- %rc $+ V14o4+14ce! %rc $+ » 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- }
- alias checkos {
- var %rc = $chr(3) $+ $gettok(1 2 3 4 5 6 7 9 10 11 12,$r(1,11),32)
- if (%opstyle = 1) && (%oparrows = 0) {
- return %rc $+ T14hanks ( $+ %rc $+ $nick 14¬ $+ %rc $wildsite $+ 14) %rc $+ F14or %rc $+ T14he 14- $+ %rc %ops 14- %rc $+ @14p! 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%opstyle = 2) && (%oparrows = 0) {
- return %rc $+ T14nx %rc $+ $+ $nick F14or %rc $+ T14he $+ %rc %ops %rc $+ @14p! 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%opstyle = 3) && (%oparrows = 0) {
- return %rc $+ T14hank %rc $+ Y14ou $+ %rc $+ $nick 14- %rc $+ F14or %rc $+ T14he - $+ %rc %ops 14- 12 $+ @14p! 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%opstyle = 1) && (%oparrows = 1) {
- return %rc $+ « T14hanks ( $+ %rc $+ $nick 14¬ $+ %rc $wildsite $+ 14) %rc $+ F14or %rc $+ T14he 14- $+ %rc %ops 14- %rc $+ @14p! %rc $+ » 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%opstyle = 2) && (%oparrows = 1) {
- return %rc $+ « T14nx %rc $+ $+ $nick F14or %rc $+ T14he $+ %rc %ops %rc $+ @14p! %rc $+ » 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- if (%opstyle = 3) && (%oparrows = 1) {
- return %rc $+ « T14hank %rc $+ Y14ou $+ %rc $+ $nick 14- %rc $+ F14or %rc $+ T14he - $+ %rc %ops 14- 12 $+ @14p! %rc $+ » 14( $+ %rc $+ L14eaker@ $+ %rc $+ S14cript)
- }
- }
- alias checktime {
- did -ra main 2 Nick: $me
- did -ra main 3 Network: $network
- did -ra main 4 Time: $time
- did -ra main 5 Script Ver: %sver
- did -ra main 15 Ops: %ops
- did -ra main 16 Voices: %voices
- did -ra main 18 $uptime(mirc,2)
- did -ra main 20 $ip
- }
- alias F2 {
- var %breason $iif($input(Enter Ban Reason,e,leakerscript v1),$v1,0) | if (%breason) {
- var %rc = $+ $r(3,12)
- .ban $address($$1,2)
- kick # $$1 14« %rc $+ F14ast %rc $+ B14an %rc $+ :: %rc $+ R14eason: %rc $+ $+ %breason $+ 14( $+ %rc $+ L14eaker14@ $+ %rc $+ S14cript14) 14»
- }
- else {
- var %rc = $+ $r(3,12)
- .ban $address($$1,2)
- kick # $$1 14« %rc $+ F14ast %rc $+ B14an 14( $+ %rc $+ L14eaker14@ $+ %rc $+ S14cript14) 14»
- }
- }
- alias checkalevel {
- if ($did(leakergth,18) == admin) { set %gthl admin | set %gtha !add-a }
- if ($did(leakergth,18) == master) { set %gthl master | set %gtha !add-m }
- if ($did(leakergth,18) == owner) { set %gthl owner | set %gtha !add-owner }
- if ($did(leakergth,18) == manager) { set %gthl manager | set %gtha !add-manager }
- }
- alias F1 { var %rc = $+ $r(3,12) | kick # $$1 14« %rc $+ F14ast %rc $+ K14ick ( $+ %rc $+ L14eaker14@ $+ %rc $+ S14cript14) 14» }
- alias checkb {
- if ($readini(musers.ini,black,$address($nick,2))) {
- var %rc = $+ $gettok(2 3 4 5 6 7 9 10 11 12,$r(2,11),32)
- ban # $address($nick,2)
- kick # $nick %rc $+ B14lacklisted %rc $+ D14etected $+ %rc $+ ! 14— $+ %rc $+ › 14( $+ %rc $+ $nick $+ 14) 14¬ 14( $+ %rc $+ $wildsite $+ 14) %rc $+ R14eason: $+ %rc $readini(musers.ini,black,$address($nick,2)) 14( $+ %rc $+ Leaker14@ $+ %rc $+ Script $+ 14)
- }
- }
- alias checkf {
- if ($readini(musers.ini,friend,$address($nick,2)) == 1) {
- var %rc = $+ $gettok(2 3 4 5 6 7 9 10 11 12,$r(2,11),32)
- msg # %rc $+ F14riend %rc $+ D14etected $+ %rc $+ ! 14— $+ %rc $+ › 14( $+ %rc $+ $nick $+ 14) 14¬ 14( $+ %rc $+ $wildsite $+ 14) ( $+ %rc $+ L14eaker14@ $+ %rc $+ S14cript $+ 14)
- }
- }
- alias scriptcolor {
- if ($1 == Green) { set %scriptcolor 3 | set %scriptcolorr 3GREEN | set %scriptcolorrr 99 | echo -a Script color is now : 3GREEN }
- if ($1 == Red) { set %scriptcolor 4 | set %scriptcolorr 4RED | set %scriptcolorrr 99 | echo -a Script color is now : 4RED }
- if ($1 == Purple) { set %scriptcolor 6 | set %scriptcolorr 6PURPLE | set %scriptcolorrr 99 | echo -a Script color is now : 6PURPLE }
- if ($1 == Orange) { set %scriptcolor 7 | set %scriptcolorr 7ORANGE | set %scriptcolorrr 99 | echo -a Script color is now : 7ORANGE }
- if ($1 == Yellow) { set %scriptcolor 8 | set %scriptcolor 8YELLOW | set %scriptcolorrr 99 | echo -a Script color is now : 8YELLOW }
- if ($1 == Cyan) { set %scriptcolor 11 | set %scriptcolorr 11CYAN | set %scriptcolorrr 99 | echo -a Script color is now : 11CYAN }
- if ($1 == Black) { set %scriptcolor 1 | set %scriptcolorr 1BLACK | set %scriptcolorrr 99 | echo -a Script color is now : 1BLACK }
- if ($1 == Blue) { set %scriptcolor 12 | set %scriptcolorr 12BLUE | set %scriptcolorrr 99 | echo -a Script color is now : 12BLUE }
- if ($1 == Original) { set %scriptcolor 5 | set %scriptcolorr 14« 5Original (LeakerScript V1) 14» | set %scriptcolorrr 14 | echo -a Script color is now : 14« 5Original (LeakerScript V1) 14» }
- }
- on *:Notice:*do this, type*:?: if ($nick == Q) { .msg Q $4- }
- on *:sockopen:update:{
- if (!$sockerr) {
- var %a = sockwrite -tn $sockname | unset %myupdate | .remove update.txt
- %a GET /leaker/update.txt HTTP/1.1
- %a Host: planetnana.co.il
- %a Connection: close
- %a Accept: */*
- %a User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)
- %a
- }
- }
- on *:sockread:update: var %z | sockread %z | if (%myupdate) { .write update.txt %z } | if (%z == [start]) { inc %myupdate }
- on *:Sockclose:update: .copy -o update.txt leakerscript.mrc | .reload -rs leakerscript.mrc | .timer 1 2 did -ra update 4 The script is secssuesfully updated! Reconnecting to the server.. | .timer 2 3 server irc.quakenet.org:6667 | .timer 1 4 dialog -x update update | .timer 1 1 .remove update.txt
- alias update .sockclose update | .sockopen update planetnana.co.il 80 | .timer 1 6 .dialog -x update update | .timer 1 1 checkupdate
- alias checkupdate $iif(!$exists(update.txt),.did -ra update 4 Connection to the server FAILED! Please try again later.)
- dialog update {
- title "leakerscript update"
- size -1 -1 105 60
- option dbu
- button "UPDATE", 1, 33 44 37 12
- edit "leakerscript Version :", 2, 6 31 91 10, read center
- box "Update Menu", 3, 1 1 103 58
- edit "leakerscript Update Menu", 4, 6 8 91 21, read multi center
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement