|
Joined: Jul 2003
Posts: 129
Vogon poet
|
OP
Vogon poet
Joined: Jul 2003
Posts: 129 |
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
|
|
|
|
pheonix
|
pheonix
|
on *:TEXT:*:?:{ if ($isignore($nick)) { haltdef if ($window($nick)) { window -c $nick } } }
|
|
|
|
Joined: Jul 2003
Posts: 129
Vogon poet
|
OP
Vogon poet
Joined: Jul 2003
Posts: 129 |
great it works PERFECTLY ! thanx much !!!!!!!
|
|
|
|
pheonix
|
pheonix
|
np
|
|
|
|
Joined: Mar 2003
Posts: 1,256
Hoopy frood
|
Hoopy frood
Joined: Mar 2003
Posts: 1,256 |
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.
|
|
|
|
pheonix
|
pheonix
|
if it doesnt show up and closes them, why does it matter anyway?
|
|
|
|
Joined: Dec 2002
Posts: 2,958
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,958 |
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.
|
|
|
|
pheonix
|
pheonix
|
if ($nick isignore) is the same as if ($isignore($nick))
|
|
|
|
Joined: Dec 2002
Posts: 2,958
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,958 |
I just tried $isignore() and there was no response.
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
Doesn't work for me either... //echo -a $isalias(isignore)
/ignore winston * Added winston!*@* to ignore list //echo -a $isignore(winston) * /echo: insufficient parameters
|
|
|
|
pheonix
|
pheonix
|
/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) }
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
/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.
|
|
|
|
Joined: Dec 2002
Posts: 2,958
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,958 |
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.
|
|
|
|
pheonix
|
pheonix
|
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.
|
|
|
|
Joined: Dec 2002
Posts: 2,958
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,958 |
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].
|
|
|
|
pheonix
|
pheonix
|
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.
|
|
|
|
Joined: Dec 2002
Posts: 2,958
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,958 |
*Watchdog throws his arms in the air...
I give up.
|
|
|
|
pheonix
|
pheonix
|
nm, found that i did have an alias:\
|
|
|
|
Joined: Dec 2002
Posts: 2,958
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,958 |
|
|
|
|
|