mIRC Home    About    Download    Register    News    Help

Print Thread
#90498 14/07/04 10:23 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
How would i sheck if the ignore is set to: *!*@* -d ?
the simplest way, i made a script for it, but it ended up as a big one, it must be an easy way to do that ?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#90499 14/07/04 10:32 PM
Joined: Feb 2004
Posts: 14
L
Pikka bird
Offline
Pikka bird
L
Joined: Feb 2004
Posts: 14
The $ignore(address/N) identifier returns any matching address in the list, or the Nth address.

#90500 14/07/04 10:38 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
dont help me much tho.. i trying to get mirc to dd the ignore for the network.. like ignore *!*@* -d $network

but i only want it added if it exist in the ignore list when i connect.. now im on 3 networks, and i want to get it identifyed..

if (dcc isin $gettok($ignore($1).type,-d,44)) { command }
that line dosent work.. confused

Last edited by sparta; 14/07/04 11:04 PM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#90501 15/07/04 04:10 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Im confused. It seems like you want to identify IF an ignore exists on one network and if it does add it to the other entworks on connect? Also, maybe try this code for a matching if statement:

if (,dcc, isin $ignore(1).type) { echo -s command }

As a side note, you could try any of these too:

/testing {
if (dcc isin $ignore(1).type) { echo -s command1 }
if (dcc, isin $ignore(1).type) { echo -s command2 }
if (,dcc isin $ignore(1).type) { echo -s command3 }
if (,dcc, isin $ignore(1).type) { echo -s command4 }
}

All of those if statements fire off as a match. I understand that you could be using the $1 properly, but Im just not sure what you're looking for and trying to help smile


Those who fail history are doomed to repeat it
#90502 15/07/04 10:33 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Quote:
How would i sheck if the ignore is set to: *!*@* -d ?
the simplest way

if ([color:blue]*!*@* isignore dcc) { do stuff }[/color]


Quote:
i trying to get mirc to dd the ignore for the network...

/ignore has a -w switch for 'global' (all networks) effect. Is that what you're after?


Quote:
but i only want it added if it exist in the ignore list when i connect

You don't have to do any checks before using /ignore, because mIRC will not complain if the entry exists already.


Link Copied to Clipboard