Page 1 of 1

Spell Trainer!!

Posted: Fri Apr 06, 2012 11:19 pm
by england20
hello, im looking for a spell trainer that will cast spells for atleast 5 memmed spells. Also to med when im OOM. i have seen a few on here but none seem to work? any help would be great. thank you

Re: Spell Trainer!!

Posted: Sat Apr 07, 2012 2:46 pm
by spartikus
I wrote this the other night after grinding to 40 and having no spell skills.

*EDIT* I've been doing a ton of playing and scripting in the last 24 hrs and it just occured to me I can't say I didn't cut and paste alot of this. Apologies if I blatently plagerized someones script. It's just a bunch of keypresses with some basic(bad) fizzle checking. The VIP area has a bunch of working spell scripts that wont destroy your gear if you use it wrong.

WARNING: This script has zilch for error checking. It has a line in it that deletes whatever your cursor is holding so you can put a cast summoned in that slot for conjuring.. Read this thing before you use it and save your self a lot of grief :)

It works great though. Was up to 200 skill in about 2-3 hours.

Code: Select all

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| Learn Spells
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

Sub Main
   /keypress forward
   /delay 1s
   :startpoint
   /if (${Me.PctMana}<10) {
   /call medbreak
   }
   :fizzle1
   /if (${Me.PctMana}<10) /call medbreak 
  /keypress 5
   /delay 1.5s
   /if (!${Me.Casting.ID}) {
   /goto :fizzle1
   }
   /delay 5s
   /echo Destroying ${Cursor.Name}
   /destroy
   :fizzle2
   /if (${Me.PctMana}<10) /call medbreak 
   /keypress 6
   /delay 1.5s
   /if (!${Me.Casting.ID}) {
   /goto :fizzle2
   }
   /delay 6s
   /keypress F1
   /delay 1s
   :fizzle3
   /if (${Me.PctMana}<10) /call medbreak 
   /keypress 7
   /delay 1.5s
   /if (!${Me.Casting.ID}) {
   /goto :fizzle3
   }
   /delay 6s
   :fizzle4
   /if (${Me.PctMana}<10) /call medbreak 
   /keypress 8
   /delay 2s
   /if (!${Me.Casting.ID}) {
   /goto :fizzle4
   }
   /delay 6s
   /goto :startpoint
/return   

Sub MedBreak
   /keypress 9
   /if (!${Me.Sitting}) /sit
   :medloop
   /delay 10
   /if (!${Me.Sitting}) /sit
   /delay 5s
   /if (${Me.PctHPs}<95 || ${Me.PctMana}<95) /goto :medloop
/return