Here is a nice UOSteam tutorial that demonstrates the basics of creating a macro and basic UOS Scripting
I am of the opinion that UOSteam is great!
It has come to my attention that many players are scared to work with
UOSteam because it is more scripting based instead of just recording like
razor. But, fear not, for I am here to assist you in learning to use UOSteam
UOSteam has the record option, just as razor does, but it's editing is more script based, that is where people start to feel lost.
I will provide a few sample scripts to help with the transition for UO players.
Symbols: The following symbols have an impact on how the script executes: @ : the @ symbol says to suppress any text from the command it is in front of.
// < double slash designates anything after it on that line as a comment. so if you want to leave a note for what something does, you can do //Macro to attack nearby enemies. at the top of a macro, or to explain what a command does as a reminder to help you remember and learn the commands.
! < used after a targeting statement, it says to not use the queued target, but instead to use the next target given to it.
Alias: an alias is another name for a target.If you use a command to find an object in your bag, and it finds one that matches, it is given the alias found, or if you use getenemy, or getfriend, the target it ends up with is given the alias enemy or friend. your own character has the alias of self.
These are useful because they give you dynamic values to use in a macro instead of targeting a specific individual every time. More information on the commands can also be found at:assistuo.com or uosteam.com there is a script library and documentation explaining many of the commands and their syntax(or how they are used)
Macro 1: Simple Attack Macrogetenemy 'murderer' 'enemy' 'criminal' 'gray' 'nearest'attack 'enemy'or @getenemy 'murderer' 'enemy' 'criminal' 'gray' 'nearest'@attack 'enemy'The difference between these is that with the @ symbol added, it will not tell you in the journal the name of the target as it targets and then attacks them.
Macro1:@getenemy 'murderer' 'enemy' 'criminal' 'gray' 'nearest'@attack 'enemy'the option exists in assistuo to loop a macro or set a hotkey even, The net effect of looping Macro1 above here would be that it will attempt to set the alias of enemy to a murderer, enemy, criminal, or gray named target, and with nearest, preferably one near you.
you can also get into more advanced things too, with the addition of pauses and other commands.
Admin Dante - Owner - UO Evolution Custom Ultima Online Shard
Website - http://www.uoevolution.com
Forum - http://www.uoevo.com/forum
Wiki - http://www.uoevo.com/wiki
Discord - http://www.discord.gg/JwEBhPH