Runes of Magic Wiki
Advertisement

Use a skill from your skill book.

Usage: UseSkill( tab_id,slot )

Parameters[ | ]

Page 1 slot Layout
1 6
2 7
3 8
4 9
5 10
Page 2 slot Layout
11 16
12 17
13 18
14 19
15 20
Page 3 slot Layout
21 26
22 27
23 28
24 29
25 30
tab_id
int = the tab number in the skill window (1..5)
1 General
2 Primary Class
3 Secondary Class
4 Primary Class Specific
5 Pet (Warden)
slot
int = the slot number in the skill window (value = 1..10 * page for each tab, see tables to right)
Page 1:
Line 1, left is 1, right is 6
Line 2, left is 2, right is 7
...
Line 5, left is 5, right is 10
Page 2:
Line 1, left is 11, right is 16
Page 3:
Line 1, left is 21, right is 26

Return: nil

Examples[ | ]

--Uses the first skill in your general tab (Attack)
UseSkill(1,1);
--Uses {{skilllink|Punishment}} for Knights (if your primary class is knight and punishment is your second skill from top)
UseSkill(2,2);

The following macro is my primary combat sequence for my Warlock / Champion

/run UseSkill(2,7)
/wait 1.8
/run UseSkill(2,2)
/wait 1.8
/run UseSkill(2,6)
/wait 1
/run UseSkill(4,13)
/wait .8
/run UseSkill(2,5)
/wait 1.8
/run UseSkill(4,21)
/wait .8
/run UseSkill(4,2)
/wait .8
/run UseSkill(2,3)
/say !

Others have also asked why I finish with "/say !". This is so I have a visual cue for when the macro ends. --Bludwyng (talk) 13:43, 28 July 2020 (UTC)

Advertisement