RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Setting flag in macro

Is there any way to set a "variable" in a macro?
Explanation: I am looking to set a variable to a value in order to direct the course of a loop.
Example:
Code:
if variable == 'a'
  put cut logs into pack animal a
  set variable to 'b'
else
  put cut logs into pack animal b
  set variable to 'a'
endif
 
Top