mIRC Home    About    Download    Register    News    Help

Print Thread
/ignore -e nick/a #243066 12/10/13 03:48 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Hello,

I wanna to suggest an /ignore parameter that will remove the setted ignore from the list when the mIRC exit, same as /set -e

- Thanks!

Re: /ignore -e nick/a [Re: westor] #243078 13/10/13 11:59 AM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Why not use -u to remove them?

Quote:
The /ignore command
/ignore [-lrpcntikdwxu#] <on|off|nick/address> [type] [network]
Where p = private, c = channel, n = notice, t = ctcp, i = invite, k = control codes, d = dccs.
The -u# switch specifies a delay in seconds after which the ignore is automatically removed.


I refuse to engage in a battle of wits with an unarmed person. wink
Re: /ignore -e nick/a [Re: CtrlAltDel] #243081 13/10/13 02:16 PM
Joined: Jul 2006
Posts: 3,568
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,568
Because -u doesn't achieve anything, he not going to calculate the time when he is going to exit mIRC, is he? he would be removing ignores in the on exit event, just like for /set, before -e was added, this suggestion is just fine.

Last edited by Wims; 13/10/13 02:54 PM.

Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: /ignore -e nick/a [Re: Wims] #243096 13/10/13 10:40 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Originally Posted By: Wims
Because -u doesn't achieve anything, he not going to calculate the time when he is going to exit mIRC, is he? he would be removing ignores in the on exit event, just like for /set, before -e was added, this suggestion is just fine.


That exactly Wims!

Re: /ignore -e nick/a [Re: Wims] #243108 14/10/13 04:21 PM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
/me bows to superior intellect


I refuse to engage in a battle of wits with an unarmed person. wink
Re: /ignore -e nick/a [Re: CtrlAltDel] #243109 14/10/13 05:16 PM
Joined: Feb 2009
Posts: 20
W
WKN Offline
Ameglian cow
Offline
Ameglian cow
W
Joined: Feb 2009
Posts: 20
Hi,

isnn't the on exit event in opposite to the on start event the right place to do some cleanups for mIRC?

You could do the /ignore -r for the users you want there.

BR
WKN

Re: /ignore -e nick/a [Re: WKN] #243404 16/11/13 01:38 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Really? OHH also this could be done and with the /set and with other -e commands.

Re: /ignore -e nick/a [Re: westor] #243414 17/11/13 01:58 AM
Joined: Oct 2009
Posts: 24
Scakk Offline
Ameglian cow
Offline
Ameglian cow
Joined: Oct 2009
Posts: 24
Using "/ignore -r" will clear the Ignore list.

Re: /ignore -e nick/a [Re: Scakk] #243481 23/11/13 09:57 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
i don't want to clear the hole list but one that i have set with the -e parameter .

Re: /ignore -e nick/a [Re: westor] #243585 30/11/13 10:58 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
To clarify, westor wants to ignore users only for the duration of his mIRC session.

This would be pretty tough to script reliably. It's doable, but a switch would be pretty useful. I could see a general use case for this kind of thing, where you want to ignore someone "for a while but not forever".


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: /ignore -e nick/a [Re: westor] #243601 02/12/13 08:29 PM
Joined: Oct 2012
Posts: 164
D
Deega Offline
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2012
Posts: 164
It's a good idea smile
Easy enough to script a workable alternative until (if) it gets added. Replace -e with -u99999999 to ignore them for 3+ years. laugh Ignores set with -u<N> are not (usually) written to file and are unset when mirc exits.
Code:
alias ignore {
  if -*e* iswm $1 && -*u* !iswm $1 { $+(!,$iif(!$show,.),ignore $1,u99999999) $2- }
  else $+(!,$iif(!$show,.),ignore) $1- 
}