mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2004
Posts: 6
N
nefer Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: Apr 2004
Posts: 6
Is there a script that I can use that will enable me to ignore, ie: not see a person's quits or aways? Not the joins and parts, but the actual away and actual quit. Just one user, not all users. Thanks

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Well, his quits could be done with:
Code:
on ^*:QUIT:{ if ($nick == nick) { haltdef } }

His away message is a bit harder, because I have no idea whether it's a msg to the channel or a notice or an action. The approach would probably be the same. Use TEXT, ACTION or NOTICE depending on what it is. Also, put something as "sometext" which identifies his away message, like for instance "I am now away".
Code:
on ^*:TEXT/ACTION/NOTICE:*sometext*:#:{ if ($nick == nick) { haltdef } }

Last edited by 5618; 20/02/08 04:23 PM.
Joined: Apr 2004
Posts: 6
N
nefer Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: Apr 2004
Posts: 6
Thanks for the help! Can you tell me where I put them? I'm using mirc 6.31 and put them in "remote" but not sure if that's where it goes.

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Yes, all such code goes into Remote.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Note that "of" should be "if". smile


Invision Support
#Invision on irc.irchighway.net
Joined: Apr 2004
Posts: 6
N
nefer Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: Apr 2004
Posts: 6
Originally Posted By: 5618
Well, his quits could be done with:
Code:
on ^*:QUIT:{ if ($nick == nick) { haltdef } }

His away message is a bit harder, because I have no idea whether it's a msg to the channel or a notice or an action. The approach would probably be the same. Use TEXT, ACTION or NOTICE depending on what it is. Also, put something as "sometext" which identifies his away message, like for instance "I am now away".
Code:
on ^*:TEXT/ACTION/NOTICE:*sometext*:#:{ if ($nick == nick) { haltdef } }



These aways are posted to the channel. So and so is going to the bathroom and will return, and on the return: so and so has returned where he's been gone for 350 seconds.. Very annoying. I want this to "go away".

Thanks wink


Link Copied to Clipboard