October 22, 201411 yr Hello, To create fightclass with support of all wow client language please do use directly the spell name or item name in your script. For get spell name use this: local name = GetSpellInfo(109259); GetSpellInfo (109259 is the id of http://www.wowhead.com/spell=109259 ) For get item name use this: local name = GetItemInfo(6256); GetItemInfo (6256 is the id of http://www.wowhead.com/item=6256/fishing-pole ) The spell/item name in the client language is in variable name, use it like: RunMacroText("/cast " .. name) (if you use direct the spell name of your client language this doesn't works on others languages).
November 3, 201510 yr Author Sample Use item: local name = GetItemInfo(6256); RunMacroText("/use " .. name); Use spell: local name = GetSpellInfo(109259); RunMacroText("/cast " .. name);
Create an account or sign in to comment