|
Joined: Dec 2015
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Dec 2015
Posts: 9 |
this protection works good but can i use those 3 just need help thts all
on @*:JOIN:#: if (%fld_temp. [ $+ [ # ] ] == $true) { return } | inc %bfld. [ $+ [ # ] ] | .timer -o 1 3 unset %bfld. [ $+ [ # ] ] | if (%bfld. [ $+ [ # ] ] >= 5) { set -u60 %fld_temp. [ $+ [ # ] ] $true | notice # Channel has been locked due to possible floods, please be patient. Thank you. | .raw MODE # +mR | .timer 1 60 .mode # -mR | .timer 2 61 .notice # Channel has been unlocked. Sorry for any inconvinience }
----- on *:JOIN:#: { if ($me isop #) { if ( a !isin $nick ) && ( e !isin $nick ) && ( i !isin $nick ) && ( o !isin $nick ) && ( u !isin $nick ) && ( $asc($left($nick,3)) !isnum 65-97 ) && ( _ !isin $nick ) && ( ^ !isin $nick ) && ( - !isin $nick ) && ( 200 !isin $nick ) && ( ` !isin $nick ) && ($len($nick) > 3) && ( $mid($nick,1,1) != $mid($nick,2,1) ) && ( $mid($nick,1,1) != $mid($nick,3,1) ) && ( $right($nick,1) !isnum 0-9 ) && ( $asc($left($nick,1)) != 123 ) && ($nick != wyld) { ban -u600 $chan $nick $+ !*@* kick $chan $nick Possible spammer 10 minute ban } } } ---- on *:START: { massjoin } on *:LOAD: { massjoin } on *:CONNECT: { massjoin } alias -l massjoin { if ($hget(massjoin) == $null) { hmake massjoin 750 } } alias -l abmj { echo -a 12,1*!14 MASS JOIN KICKER II 12!* echo -a 12,1*!14 By Neo Nemesis 12!* echo -a 12,1*!14 http://mirc-deluxe.webs.com 12!* } on @*:JOIN:#: { if (%massjoin == $true) { set -u15 %mj1 $addtok(%mj1,$nick,44) hinc -mu5 massjoin JOIN 1 if ($hget(massjoin,JOIN) >= 7) { if (%modechan != $true) { mode $chan +im set -u15 %modechan $true set -u15 %mj2 1 notice $chan 12*! 4MASS JOIN DETECTED12 !* 2- 12channel locked down for4 5-7 minuets.12 Sorry for any inconvenience this may cause. .timermjs 1 300 mode $chan -im } while (%mj2 <= $numtok(%mj1,44)) { if ($gettok(%mj1,%mj2,44) ison $chan) { if (%mj2 <= 8) { .timermj $+ %mj2 1 %mj2 kick $chan $gettok(%mj1,%mj2,44) 2MASS JOIN KICKER II - By Neo Nemesis } elseif (%mj2 > 8) { .timermj $+ %mj2 -m 1 $calc(790 * %mj2) kick $chan $gettok(%mj1,%mj2,44) 2MASS JOIN KICKER II - By Neo Nemesis } } inc %mj2 } } } } menu status,query,nicklist,channel { MASS JOIN KICKER II - $iif(%massjoin = $true,ON,OFF) .ON:/set %massjoin $true .OFF:/set %massjoin $false .About:/abmj }
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
Try to put all each "ON JOIN" event into different script files into the script editor.
e.g:
File 1: one ON JOIN event
File 2: second ON JOIN event
File 3: third ON JOIN event
|
|
|
|
Joined: Dec 2015
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Dec 2015
Posts: 9 |
u mean add those 3 deffent code deffent file u mean
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
Yes only the code of ON JOIN event (you have 3 on join codes) also remove the -l from the alias into the following aliases: alias massjoin { if ($hget(massjoin) == $null) { hmake massjoin 750 } }
alias abmj {
echo -a 12,1*!14 MASS JOIN KICKER II 12!*
echo -a 12,1*!14 By Neo Nemesis 12!*
echo -a 12,1*!14 http://mirc-deluxe.webs.com 12!*
}
|
|
|
|
Joined: Dec 2015
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Dec 2015
Posts: 9 |
ok i just add it that mass join kicker how do i tst that
|
|
|
|
Joined: Dec 2015
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Dec 2015
Posts: 9 |
on *:START: { massjoin } on *:LOAD: { massjoin } on *:CONNECT: { massjoin }
on @*:JOIN:#: { if (%massjoin == $true) { set -u15 %mj1 $addtok(%mj1,$nick,44) hinc -mu5 massjoin JOIN 1 if ($hget(massjoin,JOIN) >= 7) { if (%modechan != $true) { mode $chan +im set -u15 %modechan $true set -u15 %mj2 1 notice $chan 12*! 4MASS JOIN DETECTED12 !* 2- 12channel locked down for4 5-7 minuets.12 Sorry for any inconvenience this may cause. .timermjs 1 300 mode $chan -im } while (%mj2 <= $numtok(%mj1,44)) { if ($gettok(%mj1,%mj2,44) ison $chan) { if (%mj2 <= 8) { .timermj $+ %mj2 1 %mj2 kick $chan $gettok(%mj1,%mj2,44) 2MASS JOIN KICKER II - By Neo Nemesis } elseif (%mj2 > 8) { .timermj $+ %mj2 -m 1 $calc(790 * %mj2) kick $chan $gettok(%mj1,%mj2,44) 2MASS JOIN KICKER II - By Neo Nemesis } } inc %mj2 } } } } menu status,query,nicklist,channel { MASS JOIN KICKER II - $iif(%massjoin = $true,ON,OFF) .ON:/set %massjoin $true .OFF:/set %massjoin $false .About:/abmj }
like that
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
|
|
|
|
Joined: Dec 2015
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Dec 2015
Posts: 9 |
thx u for the help im getting this * /massjoin: not connected to server is that normal
|
|
|
|
Joined: Dec 2015
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Dec 2015
Posts: 9 |
Unknown command: [MASSJOIN]
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
You did not add the MASSJOIN alias into noone of the script files in the script editor, also all these must be into the "Remotes" tab!, try transfer the code carefully.
|
|
|
|
Joined: Dec 2015
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Dec 2015
Posts: 9 |
ive add the code carefully. samething wired
on *:START: { massjoin } on *:LOAD: { massjoin } on *:CONNECT: { massjoin }
on @*:JOIN:#: { if (%massjoin == $true) { set -u15 %mj1 $addtok(%mj1,$nick,44) hinc -mu5 massjoin JOIN 1 if ($hget(massjoin,JOIN) >= 7) { if (%modechan != $true) { mode $chan +im set -u15 %modechan $true set -u15 %mj2 1 notice $chan 12*! 4MASS JOIN DETECTED12 !* 2- 12channel locked down for4 5-7 minuets.12 Sorry for any inconvenience this may cause. .timermjs 1 300 mode $chan -im } while (%mj2 <= $numtok(%mj1,44)) { if ($gettok(%mj1,%mj2,44) ison $chan) { if (%mj2 <= 8) { .timermj $+ %mj2 1 %mj2 kick $chan $gettok(%mj1,%mj2,44) 2MASS JOIN KICKER II - By Neo Nemesis } elseif (%mj2 > 8) { .timermj $+ %mj2 -m 1 $calc(790 * %mj2) kick $chan $gettok(%mj1,%mj2,44) 2MASS JOIN KICKER II - By Neo Nemesis } } inc %mj2 } } } } menu status,query,nicklist,channel { MASS JOIN KICKER II - $iif(%massjoin = $true,ON,OFF) .ON:/set %massjoin $true .OFF:/set %massjoin $false .About:/abmj
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
Try to read what i said word by word and you will see that you forgot to add these aliases:
alias massjoin { if ($hget(massjoin) == $null) { hmake massjoin 750 } }
alias abmj {
echo -a 12,1*!14 MASS JOIN KICKER II 12!*
echo -a 12,1*!14 By Neo Nemesis 12!*
echo -a 12,1*!14 http://mirc-deluxe.webs.com 12!*
}
|
|
|
|
Joined: Dec 2015
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Dec 2015
Posts: 9 |
it works thx u no error sorry abt b4 codes can frustred how do i test it 
|
|
|
|
|