mIRC Home    About    Download    Register    News    Help

Print Thread
#243066 12/10/13 03:48 PM
Joined: Dec 2008
Posts: 1,483
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
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!

C
CtrlAltDel
CtrlAltDel
C
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.

#243081 13/10/13 02:16 PM
Joined: Jul 2006
Posts: 4,020
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,020
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.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #243096 13/10/13 10:40 PM
Joined: Dec 2008
Posts: 1,483
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
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!

Wims #243108 14/10/13 04:21 PM
C
CtrlAltDel
CtrlAltDel
C
/me bows to superior intellect

#243109 14/10/13 05:16 PM
Joined: Feb 2009
Posts: 25
W
WKN Offline
Ameglian cow
Offline
Ameglian cow
W
Joined: Feb 2009
Posts: 25
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

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

S
Scakk
Scakk
S
Using "/ignore -r" will clear the Ignore list.

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

Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
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".

D
Deega
Deega
D
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- 
}


Link Copied to Clipboard