mIRC Home    About    Download    Register    News    Help

Print Thread
#159208 14/09/06 11:39 PM
N
nataliad
nataliad
N
hello

I have this script

Code:
 on !1:join:#:{ if ($nick isreg $chan) && ($fulladdress !isprotect) { .timermsg1 1 5 /msg $nick blah } } 


but I dont want to use my ignore list, since I need it to actually ignore some people

I want to use another list, but protect list (which I never use) doesnt work (still msgs people that are in the list)

can you give me any alternative?

thanks

#159209 15/09/06 12:44 AM
R
RusselB
RusselB
R
Correct me if I'm wrong, but it looks like you want to send a message to people that aren't on a specific list when they join the channel.

If this is the case, you might use something like
Code:
 on !*:join:#:{
if (protect !isin $level($fulladdress)) {
  .timermsg1 1 5 msg $nick blah
}
}
 

and use a user list for storing the people that you don't want it sent to
To add the person's address use /auser -a protect $fulladdress

#159210 15/09/06 03:05 AM
Joined: Dec 2002
Posts: 1,536
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,536
btw, ALL users are isreg the moment they join. All users, on join, are regular users until services/person/bot changes their user modes


Those who fail history are doomed to repeat it
#159211 15/09/06 06:09 PM
N
nataliad
nataliad
N
the strange is that while ($fulladdress !isprotect) doesnt work ($nick !isprotect) works and matches masks as well!

can anyone explain this?

#159212 16/09/06 01:09 AM
F
FNar
FNar
F
You put nicks in the protect list, so it matches nicks.

#159213 16/09/06 07:16 AM
N
nataliad
nataliad
N
Quote:
You put nicks in the protect list, so it matches nicks.


it seems it matches idents and hosts as well

#159214 16/09/06 01:19 PM
R
RusselB
RusselB
R
I think, but am more than willing to be corrected on this if I'm wrong, that when you add a nick to the protect list, it adds it in the equivalent address format of nick!*@*.*
Which, in turn, would make it match any ident and/or address, so long as the nick matches.

#159215 16/09/06 01:44 PM
Joined: Dec 2002
Posts: 1,536
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,536
I've always used addresses and done things like "if a wildcard match of joined-nick is on the protect list, do stuff


Those who fail history are doomed to repeat it

Link Copied to Clipboard