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