mIRC Home    About    Download    Register    News    Help

Print Thread
#139450 14/01/06 08:02 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Imo it would be convenient if there were a means to declare a variable that will unset itself when mIRC closes, thus not having to code an on *:exit: to unset all vars there.

-u is currently not an option, because you can't know in advance how long it will take before someone will close his session, and it's ridiculous to specify something like set -u9999999, and it still wouldn't be fullproof, not to mention less efficient for mIRC, since a timer has to run internally, whereas with the new option, internally it would simply set some flag in memory that it should unset that var upon closing of mIRC.

To anyone that is not Khaled: I am not asking for workarounds.


Gone.
#139451 15/01/06 02:03 AM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
Sounds useful to me.

Maybe similar switch could allow a variable to be unset when its associated server window was closed.

-genius_at_work

#139452 15/01/06 04:44 AM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
For now you can use this...

Code:
Just kidding!


Sounds useful smile

#139453 17/01/06 12:57 AM
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
Something like 'set -e %var' ... I like that idea smile


What do you do at the end of the world? Are you busy? Will you save us?
#139454 22/01/06 04:09 AM
Joined: Apr 2004
Posts: 218
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Apr 2004
Posts: 218
I aswell concur.


Live to Dream & Dream for Life

Link Copied to Clipboard