forked from HerculesWS/Hercules
-
Notifications
You must be signed in to change notification settings - Fork 0
Setd
Mike Kao edited this page Jun 16, 2023
·
1 revision
- setd "<variable></variable>",<value></value>;
Works almost identical as set, just that the variable name is identified as a string, thus can be constructed dynamically.
This command is equivalent to:
set [[getd]]("variable name"),<value></value>;
set .@mob_id, 1002; setd ".prize_" + .@mob_id, 911; // sets the value of .prize_1002 to 911