few days ago i was testing ignore options that are build-in mirc, and all that /ignore things sucsessfully ignored notices, ctcps, channel but havent private, now i ask you scripters is there any SCRIPTING way that will REALLY ignore private msg's, i use mirc 6.03
on *:TEXT:*:?:{
if ($isignore($nick)) {
haltdef
if ($window($nick)) { window -c $nick }
}
}
great it works PERFECTLY !
thanx much !!!!!!!
np
That code doesn't ignore privates. It just closes them and prevents them from showing up. You could ignore privates with /ignore -p <nick|address>. Even better would be /silence if that works on your server.
if it doesnt show up and closes them, why does it matter anyway?
Unless it is undocumented there's no such thing as $isignore() - though there is $ignore(), and $ignore($nick) can't work but $ignore($nick $+ !*@*) might, depending on the mask on the ignore list.
if ($nick isignore) is the same as if ($isignore($nick))
I just tried $isignore() and there was no response.
Doesn't work for me either... //echo -a $isalias(isignore)
/ignore winston
* Added winston!*@* to ignore list
//echo -a $isignore(winston)
* /echo: insufficient parameters
/help isignore, i dont have any custom identifiers for that but it works in that format for me
, if it doesn't for you just use:
alias isignore {
return $iif($1 isignore,$true,$false)
}
/help isignore makes no mention of $isignore. You obviously have a very screwed up copy of mIRC if $isignore is an identifier and /.echo -q a echoes something.
Why would I want an alias to power a custom identifier that is BIGGER than the standard identifier included in mIRC? Surely the best way to go is to make the smallest and cleanest code possible.
As for it working in your script, well it lets you log into MSN chat so I guess it could contain anything non-standard, perhaps things that you don't know about.
1: i dont go on msn any more,my "script" didnt let me log on, it was a connection script i downloaded.
2: i got mirc from this site.
All distributions of mIRC came from here originally and that is a point I don't dispute. You are yet to address why the imaginary $isignore() is better than $ignore() though, or for that matter how you manage to get it to work when mIRC plainly doesn't support it [directly].
like i said: i dont know, but it definitely works, because when i privmsg myself it doesnt ignore me, but it ignores people on my ignore list.
*Watchdog throws his arms in the air...
I give up.
nm, found that i did have an alias:\
keep what i gave you but add this:
alias isignore {
return $iif($1 isignore,$true,$false)
}