hello, why my creaturescript not working? im registered it in login.lua
registerCreatureEvent(cid, "name")
creaturescripts.xml
<event type="login" name="name" event="script" value="name.lua"/>
and the code is
function onStatsChange(cid, attacker, type, combat, value)
if type ==...