Cast Max Level Spell or Ability

i inherited a script and it calls castspell "spell name"... but they do it like castspell "My Wimpy Spell VII" is there a way to castspell ${maxlevel[My Wimpy Spell]} and make it cast My Wimpy Spell IX

basically, is there a way to take a spell line, and find the spell name for the max level spell (or ability)
 

Amadeus

The Maestro
Staff member
You can ask Kannkor if he has a fancy way of doing it; however, I think that most folks (and I believe EQ2Bot) just keeps an xml file for each class with the level that the class receives each spell. You could obviously use the .xml files from EQ2Bot since it's open source.
 
Top Bottom