mIRC Homepage

/ignore -e nick/a

Posted By: westor

/ignore -e nick/a - 12/10/13 03:48 PM

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!
Posted By: CtrlAltDel

Re: /ignore -e nick/a - 13/10/13 11:59 AM

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.
Posted By: Wims

Re: /ignore -e nick/a - 13/10/13 02:16 PM

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.
Posted By: westor

Re: /ignore -e nick/a - 13/10/13 10:40 PM

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!
Posted By: CtrlAltDel

Re: /ignore -e nick/a - 14/10/13 04:21 PM

/me bows to superior intellect
Posted By: WKN

Re: /ignore -e nick/a - 14/10/13 05:16 PM

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
Posted By: westor

Re: /ignore -e nick/a - 16/11/13 01:38 PM

Really? OHH also this could be done and with the /set and with other -e commands.
Posted By: Scakk

Re: /ignore -e nick/a - 17/11/13 01:58 AM

Using "/ignore -r" will clear the Ignore list.
Posted By: westor

Re: /ignore -e nick/a - 23/11/13 09:57 PM

i don't want to clear the hole list but one that i have set with the -e parameter .
Posted By: argv0

Re: /ignore -e nick/a - 30/11/13 10:58 PM

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".
Posted By: Deega

Re: /ignore -e nick/a - 02/12/13 08:29 PM

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- 
}
© 2020 mIRC Discussion Forums