mIRC Homepage
Posted By: FiberOPtics /set addition - 14/01/06 08:02 PM
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.
Posted By: genius_at_work Re: /set addition - 15/01/06 02:03 AM
Sounds useful to me.

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

-genius_at_work
Posted By: hixxy Re: /set addition - 15/01/06 04:44 AM
For now you can use this...

Code:
Just kidding!


Sounds useful smile
Posted By: Jigsy Re: /set addition - 17/01/06 12:57 AM
Something like 'set -e %var' ... I like that idea smile
Posted By: PhantasyX Re: /set addition - 22/01/06 04:09 AM
I aswell concur.
© mIRC Discussion Forums