-
-
Save thecuriousorange/14a3355e28f707e0135e0803886931ac to your computer and use it in GitHub Desktop.
incorrect script for checking haste received
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
windower.register_event('chat message' , | |
if string:find("casts Haste") and string:find(""..player.name.." gains the effect of Haste") then | |
hastetype=1 | |
elseif string:find("casts Haste ii") and string:find(""..player.name.." gains the effect of Haste") then | |
hastetype=2 | |
elseif string:find("casts Flurry") and string:find(""..player.name.." gains the effect of Flurry") then | |
hastetype=3 | |
elseif string:find("casts Flurry ii") and string:find(""..player.name.." gains the effect of Flurry II") then | |
hastetype=4 | |
end | |
add_to_chat(206,"hastetype:"..hastetype.."") | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment