mIRC Home    About    Download    Register    News    Help

Print Thread
#222981 11/07/10 01:32 PM
Joined: Mar 2009
Posts: 18
S
Pikka bird
OP Offline
Pikka bird
S
Joined: Mar 2009
Posts: 18
on *:part:#:{
if badword isin $1- {
.ban $nick
}
}


The script only can trigger the word 'badword' but what if 'bad badword' and the script not working anymore. any solution??

-->>

on *:part:#:{
if *badword* isin $1- {
.ban $nick
}
}

<< cannot work

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
The script you already have would work for "bad badword," have you actually tried it?

Joined: Mar 2009
Posts: 18
S
Pikka bird
OP Offline
Pikka bird
S
Joined: Mar 2009
Posts: 18
I've tested. BUt not working

Joined: Mar 2009
Posts: 18
S
Pikka bird
OP Offline
Pikka bird
S
Joined: Mar 2009
Posts: 18
anyone anyidea?

Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
It should have been:
Quote:
if *badword* iswm $1- {
which you indicate that's a wildcard string. When you used isin, mirc sees it as *badword* with two asterisk symbols included.


Link Copied to Clipboard