Please point out the fundimental difference between these two commands
the /set modifies a local contents for a limited time
the /ban modifies a irc security for a limited time
Lets do a little test...
//if ($(/set -u $+ %s %var test,0) == $(/ban -u $+ %secs %chan %nick 3,0)) echo My we are the same!
//if ($(/set -u $+ %s %var test,0) != $(/ban -u $+ %secs %chan %nick 3,0)) echo Hmmm we seem to be different.
Now after the (sarcasticly written) replies above, I dont really see how you felt what i said was wrong, just becuase it sometimes works dont mean it well work all the time.
Set by its logic of what its doing must not evaluate the first variable it finds else it cant set that as it would have evaluated it, and no longer have the variable name to set something to.
I hav had this to deal with...
//set %con %hold 1
it sets %con to the value of [ %hold ] 1
but %con actually held "-u30" becuase it was a conditional set of %hold for 30 seconds.
had to make it this...
//set $(%con,1) %hold 1
when i found the falut in my code before replacing with the above line, i looked at it and thought, well damn, of course its gonna set the first one to that, how is it ment to know what i wanted it to do.
//ban %con %chan %nick
is fine of course as it is would what it would be.