Difference between revisions of "If"

221 bytes added ,  08:53, 1 May 2006
m
imported>JOG
imported>JOG
Line 93: Line 93:
  IF a * ( 5 + c ) - 14 == b
  IF a * ( 5 + c ) - 14 == b
  IF 2*(a*(5+c)-14)==b - -b
  IF 2*(a*(5+c)-14)==b - -b
If a variable or the result of a function returns 1 you don't need to test on "== 1"
IF Done
IF Getisid MyNPC
IF IsActor && Flag
Do the same as
IF Done == 1
IF Getisid MyNPC == 1
IF IsActor == 1 && Flag == 1


[[Category:Commands]]
[[Category:Commands]]
Anonymous user