Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Var add up
#2
wiki Wrote:VarAdd(Name, Value) adds to the variable the value (x + value).

Therefore:

Code:
VarAdd(Var1,!Var2!)
or
Code:
!Var1!+!Var2!=!Var3!


Everytime you want to call a variable from outside a variable command (i.e VarAdd, VarSub, VarMod, etc), you need to use "!" right after and before the variable: !var!

To multiple a variable by a constant use:

wiki Wrote:VarMult(Name, Value) multiplies the variable by the value (x * value).
Please, read the wiki: http://wiki.bmega.net/doku.php

[Image: tumblr_linetdmNqm1qzcq51o1_500-thumb-600x337-48077.gif]


Messages In This Thread
Var add up - by | socio | - 08-10-2011, 11:29 AM
Var add up - by Noen - 08-10-2011, 03:50 PM
Re: Var add up - by Miksu1337 - 08-11-2011, 03:24 PM
Re: Var add up - by MegaNo0body - 08-11-2011, 04:30 PM
Re: Var add up - by Miksu1337 - 08-11-2011, 05:06 PM
Re: Var add up - by MegaNo0body - 08-11-2011, 06:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)