Andoido 75 Posted November 4, 2018 Share Posted November 4, 2018 if string.find(spellName, ""Firebolt(Rank 2)()"") then Basically i just want to know how to write this. Because "Firebolt" works. And i need to say "Hey, does bot know Firebolt Rank 2?" Thanks. Link to comment https://wrobot.eu/forums/topic/10349-check-bots-pet-spells-and-ranks/ Share on other sites More sharing options...
Andoido 75 Posted November 4, 2018 Author Share Posted November 4, 2018 Any update on this ? Link to comment https://wrobot.eu/forums/topic/10349-check-bots-pet-spells-and-ranks/#findComment-49128 Share on other sites More sharing options...
Droidz 2739 Posted November 15, 2018 Share Posted November 15, 2018 Hello, before "if..." add code DEFAULT_CHAT_FRAME:AddMessage(tostring(spellName)) to get spells names Link to comment https://wrobot.eu/forums/topic/10349-check-bots-pet-spells-and-ranks/#findComment-49318 Share on other sites More sharing options...
Andoido 75 Posted November 16, 2018 Author Share Posted November 16, 2018 DEFAULT_CHAT_FRAME:AddMessage(tostring(spellName))string.find(spellName, ""Firebolt(Rank 2)()"") then ? Link to comment https://wrobot.eu/forums/topic/10349-check-bots-pet-spells-and-ranks/#findComment-49360 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now