Difference between revisions of "Set"
Jump to navigation
Jump to search
m
no edit summary
imported>JOG m |
imported>JOG m |
||
Line 9: | Line 9: | ||
set stage to getstage quest1 + 10 | set stage to getstage quest1 + 10 | ||
As you see, when you put a minus right in front of a variable the variable will be negated. To acomplish this, the parser needs you to put spaces | As you see, when you put a minus right in front of a variable the variable will be negated. To acomplish this, the parser needs you to put spaces around all minuses that are operators and not algebraic signs. If you use "b-a" in the above example, the script doesn't compile; it needs to be "b - a". | ||
[[Category:Commands]] | [[Category:Commands]] |