Difference between revisions of "Set"
m
no edit summary
imported>JOG (set variable to <comparsion>) |
imported>JOG m |
||
Line 55: | Line 55: | ||
*You can also use a comparsion as the "value". The variable will then be set either to 1 or 0 depending on whether the condition is true or not. | *You can also use a comparsion as the "value". The variable will then be set either to 1 or 0 depending on whether the condition is true or not. | ||
set goodluck to player. | set goodluck to player.Getav luck > 60 | ||
Does the same as | Does the same as | ||
if player. | if player.Getav luck > 60 | ||
set goodluck to 1 | set goodluck to 1 | ||
else | else |