mIRC Homepage
Posted By: SithLORD help on Dec stuff - 20/01/07 06:23 PM
can i do this

dec (%di -1 ) or is wrong

any one help please
Posted By: OrionsBelt Re: help on Dec stuff - 20/01/07 06:30 PM
I do think it will work, but if you do:
dec %di

It will automaticly decrease %di with -1.
Posted By: genius_at_work Re: help on Dec stuff - 20/01/07 06:48 PM
If you decrement by -1, you are actually incrementing by +1.

Code:
alias dtest {
var %test = 1
echo -a Test1: %test
dec %test -1
echo -a Test2: %test
}


-genius_at_work
Posted By: DJ_Sol Re: help on Dec stuff - 20/01/07 07:53 PM
semantics :p he wanted to subtract one!!

/dec %var
© mIRC Discussion Forums