Un-memorizing a spell?

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Groo
decaying skeleton
decaying skeleton
Posts: 6
Joined: Tue Feb 24, 2004 1:46 pm

Un-memorizing a spell?

Post by Groo » Mon Mar 08, 2004 10:47 am

I have searched but can't seem to figure this out - How do you unmemorize a spell?.

Best I can come up with (does NOT work) is.

Code: Select all

/memspell 7 "BadSpellName"
But unfortunately, using a bad spell name does not remove the current spell in slot 7 in this case.

I want to un-mem a spell so that I can re-memorize it into a different slot to have standard spell set-ups.

TIA!

Falco72
a hill giant
a hill giant
Posts: 215
Joined: Fri Sep 26, 2003 3:24 am

Post by Falco72 » Mon Mar 08, 2004 12:33 pm

There is a command in MQ2 that let you call a spell set and memorize it (same as use the EQ feature). I am at work and I dont remember the command but you can look in the readme. Or, but I can't see why, you can just use a piece of code like this:

Code: Select all

/memspell 7 "an other spell"
/memspell 6 "the right spell"
/memspell 7 "the right spell"

SlimFastForYou
a hill giant
a hill giant
Posts: 174
Joined: Sat Jan 24, 2004 1:38 am

Post by SlimFastForYou » Thu Mar 18, 2004 7:49 am

You can also loop code which looks somewhat like this 8 times. My example shows only two, but you can have 8 of these, and with a 8 time loop, this will make sure all spells are memorized.

I can't remember the syntax of an MQ for loop (been coding C++ for hours, and my mind is too fucked up right now to think of /for blah blah blah /next), but you can employ one to execute this code enough times to flush out any unneeded spells.

Code: Select all

/if n $char(gem,"Invisibility")==0 {
		/memspell 1 "Invisibility"
		/delay 5s
	}

/if n $char(gem,"Spirit of Wolf")==0 {
		/memspell 2 "Spirit of Wolf"
		/delay 5s
	}
As far as ONLY de-memorizing spells, I don't know that one off the top of my head. However this code will let you get ALL of the spells you need memorized, which is just as useful (if not more).