Skip to content

#LSkill

VariableLast actionRead / writeNumberNeeds client
uo.dll
LSkill

Also searchable as: #LSkill · LSkill · last skill · use skill

#LSkill is the number of the skill you used last. Set it and run event Macro 14 (Last Skill) to use a skill, as if you had clicked its button in the skills list.

The numbers are listed under Use Skills on the event Macro page; they are the same numbers that skill uses everywhere, for example Hiding is 21, Meditation 46, Spirit Speak 32.

The value lives in the client, not in the script: setting it changes it for every script attached to that client, and the client changes it too as you play. Save the old value and put it back if other scripts may rely on it.

set #LSkill 21 ; Hiding
event Macro 14 0
halt

See also

Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.