I script for fun when I have time. I was thinking about scripting a magic bot for fun. I'm trying to get my bot to open the magic tab and cast a spell, and I was looking around and saw:
 
	 
 
	getMagic()
 
	CastSpell ()
 
	 
 
	Am I in the right direction? I couldn't figure out how to make it select a spell at all.
 
	 
 
	Any thoughts are appreciated.
 
	 
 
	Thanks