I would suggest using `event_killed_merit` BTW!
Code:
function event_killed_merit(e)
local total = 0;
local qglobals = eq.get_qglobals(e.other);
if (qglobals["reborn_credits"] == nil) then
total = 1;
else
total = tonumber(qglobals["reborn_credits"]) + 1;
end
e.other:SetGlobal("reborn_credits", tostring(total), 5, "F");
e.other:Message(5, "You have gained a Reborn armor credit! You currently have "..total..".");
end