mIRC Homepage
Posted By: sparta ignore - 14/07/04 10:23 PM
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 ?
Posted By: LittleJohnsr Re: ignore - 14/07/04 10:32 PM
The $ignore(address/N) identifier returns any matching address in the list, or the Nth address.
Posted By: sparta Re: ignore - 14/07/04 10:38 PM
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
Posted By: landonsandor Re: ignore - 15/07/04 04:10 AM
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
Posted By: Online Re: ignore - 15/07/04 10:33 AM
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.
© mIRC Discussion Forums