Improved Magery Eval Intel Spirit Speak. by .baldmenace

Description: Upgrade to https://outlands.uorazorscripts.com/script/85d7791b-2cfb-431f-8df7-c1fa34322c22

Fixed an issue if you didn't have a hotkey bound to meditation if forces an infinite loop to try and spirit speak.

Added Vars so that you can set the max skill you want to train up to.

Also this fixed an issue where it kept casting earth elementals wasting regents, but not performing the evaluate intelligence skill.

# What is needed:# # Just a lot of mandrake root, spider silk and bloodmoss!# # Happy macro-ing! # @setvar! MaxMagery 100 @setvar! MaxEvalInt 100 @setvar! MaxSprtSpk 80 if mana < 50 and not findbuff "actively meditating" skill 'meditation' endif if skill "Magery" < MaxMagery and mana >= 100 say 'Guards' endif if followers < 4 and not findbuff "actively meditating" cast 'Earth Elemental' wait 6000 endif if followers = 4 say "all release" waitforgump 931181454 gumpresponse 1 wait 500 say 'Guards' endif if skill "Magery" = MaxMagery and skill "Evaluate Intelligence" < MaxEvalInt if findtype "an earth elemental" true skill 'evaluatingintelligence' waitfortarget targettype 'an earth elemental' wait 3000 endif if not findtype "an earth elemental" cast 'Earth Elemental' wait 6000 endif endif if skill "Magery" = MaxMagery and skill "Evaluate Intelligence" = MaxEvalInt and skill "Spirit Speak" < MaxSprtSpk skill 'Spirit Speak' wait 2000 endif if skill "Magery" = MaxMagery and skill "Evaluate Intelligence" = MaxEvalInt and skill "Spirit Speak" = MaxSprtSpk overhead 'All done.' stop endif replay