• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver
MySpells.mac - Write all your spells to an ini file

Release MySpells.mac - Write all your spells to an ini file 1.0

No permission to download

Maskoi

old and salty
Joined
Sep 28, 2005
RedCents
82,796¢
Here is another stupid macro I wrote a awhile ago. It will write all the spells in your spell book to an ini file ToonNameSpells.ini by level. You can view or print it out to check if you are missing any spells. See sample below.

Sample of the ini file i.e RangerbobSpells.ini
Rich (BB code):
[Spell Level 1]
|=======================================================================|
|     Spell ID 5011=Salve - Alteration - Single - Page 2
|=======================================================================|
[Spell Level 2]
|=======================================================================|
|     Spell ID 51=Glimpse - Divination - Self - Page 1
|=======================================================================|
[Spell Level 3]
|=======================================================================|
|     Spell ID 239=Flame Lick - Evocation - Single - Page 2
|=======================================================================|

Rich (BB code):
| MySpells.mac by Emperor 06/09/09
| Dumb little macro that will write every spell or song in your spell book by level 
| to an ini file named ToonsnameSpells.ini. Useful to see & print out what spells you have.

#turbo 40

Sub Main

/call create_spell_sections
/call write_spells
/call footer_spell_sections
/return

sub create_spell_sections
/echo "Creating ini file ${Me.Name}Spells.ini"
/declare j int local 1
/for j 1 to 85
/ini ${Me.Name}Spells.ini "Spell Level ${j}" "|===================================" "===================================|"
/next j
/return

sub footer_spell_sections
/declare k int local 1
/for k 1 to 90
/if (${Ini[${Me.Name}Spells.ini,Spell Level ${k},0]}==0) /ini ${Me.Name}Spells.ini "Spell Level ${k}" "|===================================" "===================================|"
/next k
/return

sub write_spells
/declare spell_book_slots string outer 480
/declare PageNum int outer
/declare i int local 1
/for i 1 to ${spell_book_slots}
/if (${Me.Book[${i}].Name.NotEqual[NULL]}) {
/varcalc PageNum (${i}/8)+.9
/echo Slot #${i} ${Me.Book[${i}]} Page ${PageNum}
/ini "${Me.Name}Spells.ini" "Spell Level ${Me.Book[${i}].Level}" "|     Spell ID ${Me.Book[${i}].ID}" "${Me.Book[${i}].Name} - ${Me.Book[${i}].Skill} - ${Me.Book[${i}].TargetType} - Page ${PageNum}"
} else {
/goto :Skip 
}
:Skip
/next i
/return
 
i've been looking for something like this for awhile... now how can we make it compare the output to lucy so we can just get an output of missing spells/songs? :)
 
There is no easy way to connect to lucy and compare the data because of the way lucy serves it up.
 
This is an awesome idea. It brings up a question : Why are macros like this NOT included in the complie?

Prehaps a list of simularly useful macros could be created and voted on to include in the compile? or would that be too much work?
 
Last edited by a moderator:
This is an awesome idea. It brings up a question : Why are macros like this NOT included in the complie?

Prehaps a list of simularly useful macros could be created and voted on to include in the compile? or would that be too much work?

This is kind of an obscure macro and like only 2 people have requested it. I only included the useful ones to avoid confusion. The list below shows what macs I have included in the compile.

New! Some popular macros now included with our NA Official Compile
Macros
Alctol.mac - Alcohol tolerance skill trainer
Bazaar.mac - Automatically update the prices of your buyer or trader
Kissassist.mac - All class easy to use assist macro
Cskillup.mac - Spell Casting Skillup Trainer Macro
Combine.mac - Tradeskills Combine Macro​
Include Files
bazaar.inc - Support file for bazaar.mac
ninjadvloot.inc - Support file to handle looting in macros
spell_routines.inc - Support file for spell casting in macros​
Help File
~Redguides_NotAddicted_Macro_Help.txt - Help/Instructions file for all included macros.​
A few changes:
 
I know this is a old Macro that hasn't been touched since 2011. I have been looking through the boards and came across this. I am just curious on what I would have to imput into the macro to have the actual config file for spells be put into a different folder, say it's called spells in the macro folder itself. Thank you in advance!
 
Release MySpells.mac - Write all your spells to an ini file

Users who are viewing this thread

Back
Top
Cart