Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tear1=true
- tear2=false
- tear3=false
- tear4=false
- tear5=false
- ga=false
- ancient=false
- debuff=false
- fire=true
- ice=false
- wind=false
- earth=false
- lightning=false
- water=false
- light=false
- dark=false
- function castspell()
- if tear1 then
- if ga then
- if fire then
- self_command('input /ma "Firaga" <t>')
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif ancient then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif debuff then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- else
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- end
- elseif tear2 then
- if ga then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif ancient then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif debuff then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- else
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- end
- elseif tear3 then
- if ga then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif ancient then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif debuff then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- else
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- end
- elseif tear4 then
- if ga then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif ancient then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif debuff then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- else
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- end
- elseif tear5 then
- if ga then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif ancient then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- elseif debuff then
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- else
- if fire then
- elseif ice then
- elseif wind then
- elseif earth then
- elseif lightning then
- elseif water then
- elseif light then
- elseif dark then
- end
- end
- end
- end
- function self_command(command)
- if command == "tear1" then
- tear1=true
- tear2=false
- tear3=false
- tear4=false
- tear5=false
- elseif command == "tear2" then
- tear1=false
- tear2=true
- tear3=false
- tear4=false
- tear5=false
- elseif command == "tear3" then
- tear1=false
- tear2=false
- tear3=true
- tear4=false
- tear5=false
- elseif command == "tear4" then
- tear1=true
- tear2=false
- tear3=false
- tear4=true
- tear5=false
- elseif command == "tear5" then
- tear1=false
- tear2=false
- tear3=false
- tear4=false
- tear5=true
- end
- if command == "ga" then
- ga=true
- ancient=false
- debuff=false
- elseif command == "ancient" then
- ga=false
- ancient=true
- debuff=false
- elseif command == "debuff" then
- ga=false
- ancient=false
- debuff=true
- elseif command == "normal" then
- ga=false
- ancient=false
- debuff=false
- end
- if command == "fire" then
- fire=true
- ice=false
- wind=false
- earth=false
- lightning=false
- water=false
- light=false
- dark=false
- elseif command == "ice" then
- fire=false
- ice=true
- wind=false
- earth=false
- lightning=false
- water=false
- light=false
- dark=false
- elseif command == "wind" then
- fire=false
- ice=false
- wind=true
- earth=false
- lightning=false
- water=false
- light=false
- dark=false
- elseif command == "earth" then
- fire=false
- ice=false
- wind=false
- earth=true
- lightning=false
- water=false
- light=false
- dark=false
- elseif command == "lightning" then
- fire=false
- ice=false
- wind=false
- earth=false
- lightning=true
- water=false
- light=false
- dark=false
- elseif command == "water" then
- fire=false
- ice=false
- wind=false
- earth=false
- lightning=false
- water=true
- light=false
- dark=false
- elseif command == "light" then
- fire=false
- ice=false
- wind=false
- earth=false
- lightning=false
- water=false
- light=true
- dark=false
- elseif command == "dark" then
- fire=false
- ice=false
- wind=false
- earth=false
- lightning=false
- water=false
- light=false
- dark=true
- end
- if command == "cast" then
- castspell()
- end
- end
- the commands are sent with
- in console
- gs c <command>
- in chat
- //gs c <command>
- from macro
- /console gs c <command>
- each spell would need 3 commands sent
- gs c <tear1|tear2|tear3|tear4|tear5>
- gs c <ga|ancient|debuff|normal>
- gs c <fire|ice|wind|earth|lightning|water|light|dark>
- then it would need to cast command
- gs c cast
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement