Henrybk

nameless while

Aug 20th, 2017
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. automacro HasItem {
  2. InInventoryID 517 > 0
  3. exclusive 1
  4. call {
  5. $var = 0
  6. $MaxVar = 10
  7. while ($var < $MaxVar) {
  8. log The value of \$var is still $var, so less than \$MaxVar which is $MaxVar
  9. $var++
  10. }
  11. log The value of \$var is $var, so equal to \$MaxVar which is $MaxVar
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment