mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#40788 09/08/03 11:48 PM
Joined: Jul 2003
Posts: 129
O
Vogon poet
OP Offline
Vogon poet
O
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

#40789 09/08/03 11:53 PM
P
pheonix
pheonix
P
on *:TEXT:*:?:{
if ($isignore($nick)) {
haltdef
if ($window($nick)) { window -c $nick }
}
}

#40790 10/08/03 12:18 AM
Joined: Jul 2003
Posts: 129
O
Vogon poet
OP Offline
Vogon poet
O
Joined: Jul 2003
Posts: 129
great it works PERFECTLY !
thanx much !!!!!!!

#40791 10/08/03 01:17 AM
P
pheonix
pheonix
P
np smile

#40792 10/08/03 07:04 AM
Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
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.

#40793 10/08/03 10:50 AM
P
pheonix
pheonix
P
if it doesnt show up and closes them, why does it matter anyway?

#40794 10/08/03 11:47 AM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
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.

#40795 10/08/03 11:58 AM
P
pheonix
pheonix
P
if ($nick isignore) is the same as if ($isignore($nick))

#40796 10/08/03 12:27 PM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Dec 2002
Posts: 2,958
I just tried $isignore() and there was no response.

#40797 10/08/03 12:30 PM
P
pheonix
pheonix
P
works for me.

#40798 10/08/03 12:32 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
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

#40799 10/08/03 12:40 PM
P
pheonix
pheonix
P
/help isignore, i dont have any custom identifiers for that but it works in that format for me crazy, if it doesn't for you just use:
alias isignore {
return $iif($1 isignore,$true,$false)
}

#40800 10/08/03 12:42 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
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.

#40801 10/08/03 12:49 PM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
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.

#40802 10/08/03 12:59 PM
P
pheonix
pheonix
P
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.

#40803 10/08/03 01:03 PM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
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].

#40804 10/08/03 01:06 PM
P
pheonix
pheonix
P
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.

#40805 10/08/03 01:11 PM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Dec 2002
Posts: 2,958
*Watchdog throws his arms in the air...

I give up.

#40806 10/08/03 01:22 PM
P
pheonix
pheonix
P
nm, found that i did have an alias:\

#40807 10/08/03 01:24 PM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Dec 2002
Posts: 2,958
lol.

Page 1 of 2 1 2

Link Copied to Clipboard