I was wondering, Items have an ItemLink and skills also have a "skill link", but how do we get a "skill link" ?
I was thinking instead of just accepting Item Links in my gameText function it would Also Accept Skills!
Bu ti don't know how to get a skill link. any ideas?
Skill Links?
Skill Links?
Thanks for reading!
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Re: Skill Links?
Rombot manually creates the link itself. You could have a look at how it does it and adapt it to create a skill link too.
It creates an item link like this
A non level skill looks like this.
A skill with a level looks like this.
You should be able to create your own links with this information.
It creates an item link like this
Code: Select all
self.ItemLink = string.format( "|Hitem:%x|h|c%x[%s]|r|h", self.Id, self.Color or 0, self.Name );
Code: Select all
|Hskill:540000 -1|h|cff8080ff[Attack]|r|h
Code: Select all
|Hskill:491586 50|h|cff8080ff[Freeze+50]|r|h
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Skill Links?
GREAT! itemlinks are already supported in gameText, It'll probably support Skill links in next update. I might even submit to you a couple of lines that create the skill link within the bot.
Thanks for reading!
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Who is online
Users browsing this forum: Bing [Bot] and 2 guests