First of all, yes its strange that a contrib asks for help, but i just started to learn lua scripting, but now i get an error that says:
LuaEngine: VileFamiliarTrash.lua:7: 'eof' expected near 'end'
Whats the problem?
Here is the lua script btw:
Have i done anything wrong? Please fix it for me. +Rep will be given.function VileFamiliar_Firebolt(Unit, event, miscunit, misc)
print "Vile Familiar casts Firebolt"
Unit:FullCastSpellOnTarget(7799,Unit:GetMainTank())
Unit:SendChatMessage(12, 0, "Burn? No, DIE!")
end
Unit:RegisterEvent("VileFamiliar_Firebolt", 4000, 0)
end
RegisterUnitEvent(444333, 1, "VileFamiliar_Combat")