Hi
I got my lua to load but when i did gs showswaps and checked to see if the rules were going right, I was disappointed. I started off with cure spells, so i figure if I can figure out why these arent working, I can apply the changes to the other spell types. here is my gearset and rules
gearset
	sets.precast.Fastcast = {
		ammo="Impatiens",
		head="Nahtirah Hat",
		neck="Twilight Torque",
		lear="Loquacious Earring",
		rear="Crematio Earring",
		body="Artsieq Jubbah",
		hands="Hagondes Cuffs",
		lring="Dark Ring",
		rring="Defending Ring",
		back="Shadow Mantle",
		waist="Goading Belt",
		legs="Hagondes Pants",
		feet="Hagondes Sabots"}	
	sets.precast.HasteHealing = set_combine(sets.precast.Fastcast, {
		main="Tamaxchi",
		sub="Genbu's Shield",
		body="Heka's Kalasiris",
		back="Pahtli Cape"})
rules precast
function precast(spell,action)
	if player.equipment.head == 'Reraise Hairpin' then disable('head')
	else enable('head') end
	if player.equipment.left_ear == 'Reraise Earring' then disable('ear1')
	else enable('ear1') end
	if spell.action_type == 'Magic' or spell.type=='Ninjutsu' then
		if spell.english == 'Impact' then
			equip(sets.precast.HasteElemental,{body="Twilight Cloak"})
		elseif spell.english == 'Stoneskin' then
			equip(sets.precast.HasteStoneskin)
		elseif spell.english == 'Cursna' then
			equip(sets.midcast.Cursna)
		elseif spell.skill=='ElementalMagic' then
			if spell.english == 'Stone' or 'Stone II' or 'Stonega' then
				equip(sets.midcast.Stone)
			elseif spell.casttime < 3 then
				equip(sets.midcast['Elemental Magic'])
			else equip(sets.precast.HasteElemental)
			end
		elseif spell.skill=='EnhancingMagic' then
			equip(sets.precast.HasteEnhancing)
		elseif spell.skill=='Healing Magic' then
			equip(sets.precast.HasteHealing)
		else equip(sets.precast.Fastcast)
		end
midcast
function midcast(spell,action)
	if spell.action_type == 'Magic' then
		if sets.midcast[spell.english] then
			equip(sets.midcast[spell.english])
		elseif spell.english:startswith('Protect') or spell.english:startswith('Shell') then
			equip(sets.midcast.ProtectShell)
		elseif spell.english == 'Sneak' then
			send_command('@wait 1.8;cancel 71;')
		elseif sets.midcast[spell.skill] then
			equip(sets.midcast[spell.skill])
		end
my precast showing on screen is normal fastcast
please help, and thanks!
*edit, i saw i copy/pasted the code for fastcast twice, sorry if it caused confusion








