mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2015
Posts: 2
H
Huwodro Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
H
Joined: Sep 2015
Posts: 2
I'm having a some trouble getting this to work and would appreciate some help.

I know that you can set a variable and unset it after N seconds, like this:

Code:
set -u10 %variable message


But what I want to do is to unset the variable depending on a value from an INI file. I figured I could type it like this, but it didn't work:

Code:
set -u$readini(filename.ini,section,item) %variable message

Last edited by Huwodro; 11/10/15 05:37 PM.
Joined: Feb 2015
Posts: 243
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Feb 2015
Posts: 243
Code:
set $+(-u,$readini(filename.ini,section,item)) %variable message

This should work smile


Link Copied to Clipboard