ServUO Version
Publish 57
Ultima Expansion
Endless Journey
I'm struggling with the [global interface commands with regards to the syntax for an account. Let's say I wanted to give something to all characters on a specific account. What would be the correct syntax for that command. I've tried things like:

[global addtopack gold 10000 where mobile account=NameOfTheAccount

but obviously that's not working. Any tips or documentation on the where clause parts? I think I'm ok with the addtopack, etc parts, but the where clauses are stumping me!
 
I appreciate that, but my issue is more on what [condition] can possibly be and the appropriate syntax. I'm a SQL developer (to some extent) in my "day job" so I'm used to SQL syntax in a WHERE clause, but it's clearly quite different in this context
 
[global addtopack Gold set Amount 10000 where PlayerMobile Account.username == NameOfTheAccount

This works on my server should work on yours

[global addtopack [class name of item to add] set [property name] [value] [property name] [value] ... where [class name to use as filter] [property name] [comparison expression] [value]
 
Back