WOOT First #include macro

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Neotrobe
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon Nov 11, 2002 8:19 am
Contact:

WOOT First #include macro

Post by Neotrobe » Wed Nov 13, 2002 12:05 am

Techniquly this is my first macro. However, I have super duper plans. it might have been done before but I want to write my own. This is the first of many macros I will need/input on=).

Code: Select all

|** Filename: memspell.mac v.alpha
**  Author: Gonezo
**  State: ALPHA
**  WHAT: Checks to see if there is a spell in that slot if so it forgets it then mems 
**  the spell!
**  USEAGE: /macro memspell.mac $p0 "$p1" 
**|

	Sub Main
	|opening commands
	/press CTRL 
	/press shift 
	/press alt
	/book 1

 |This "/if" statement checks to see if the spell gem is full and if so right clicks that gem     |then mems the spell.
	
	/if $char(gem,$p0)!="NULL" /click right 104 $int($p0*38-11)
	/memspell $p0 "$p1"

/endmacro
Any type of help is good I am working on making it useable for all 8 spell slots. Wish me luck I am
Gone....zo