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: 132
O
Vogon poet
OP Offline
Vogon poet
O
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

#40789 09/08/03 11:53 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
on *:TEXT:*:?:{
if ($isignore($nick)) {
haltdef
if ($window($nick)) { window -c $nick }
}
}


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

#40791 10/08/03 01:17 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
np smile


new username: tidy_trax
#40792 10/08/03 07:04 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
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
#40793 10/08/03 10:50 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
if it doesnt show up and closes them, why does it matter anyway?


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

#40795 10/08/03 11:58 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
if ($nick isignore) is the same as if ($isignore($nick))


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

#40797 10/08/03 12:30 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
works for me.


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

#40799 10/08/03 12:40 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
/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)
}


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

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

#40802 10/08/03 12:59 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
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
#40803 10/08/03 01:03 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
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].

#40804 10/08/03 01:06 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
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
#40805 10/08/03 01:11 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
*Watchdog throws his arms in the air...

I give up.

#40806 10/08/03 01:22 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
nm, found that i did have an alias:\


new username: tidy_trax
#40807 10/08/03 01:24 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
lol.

Page 1 of 2 1 2

Link Copied to Clipboard