mIRC Home    About    Download    Register    News    Help

Print Thread
#84905 01/06/04 07:47 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
on @1:join:#:{ if($nick isin %malnicks)} { .echo -a 0,4 caca | haltdef }}

help on this i dont know what is the problem

thnx


mess with the best
#84906 01/06/04 07:53 PM
Joined: Mar 2004
Posts: 155
D
Vogon poet
Offline
Vogon poet
D
Joined: Mar 2004
Posts: 155
(NOT TESTED)
Code:
on @*:JOIN:#: { 
if($nick isin %malnicks) }
.echo -a 0,4 caca
haltdef 
}


#84907 01/06/04 08:07 PM
Joined: Sep 2003
Posts: 98
N
Babel fish
Offline
Babel fish
N
Joined: Sep 2003
Posts: 98
Code:
 
on ^@*:JOIN:#: { if ($nick isin %malnicks) { .echo -a 0,4 caca | haltdef } }
 


www.stwar.us.to
IRCnet - #stwar
#84908 01/06/04 08:30 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Code:
on @[color:red]^[/color]1:join:#:{ if ($nick isin %malnicks) { .echo -a 0,4 caca | haltdef } }


If you are using haltdef, then you also should add the ^ in the event. Also you were missing some spaces in the code.

Hope it helps, Zyzzyx. smile


"All we are saying is give peace a chance" -- John Lennon
#84909 02/06/04 03:16 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Hi,

what zyxxy gave you was good, though it is preferable to use $istok over isin in this case.
Code:
  
on ^@*:join:#: if $istok(%malnicks,$nick,44) { haltdef | echo 4 -a caca } 


%malnicks blah,bloh,blih,bluh

Greets

Last edited by FiberOPtics; 02/06/04 03:56 PM.

Gone.

Link Copied to Clipboard