All pastes #746284 Raw Edit

Stuff

public text v1 · immutable
·published 2007-10-23 03:15 UTC
rendered paste body
global levelup = function(plr) {
level = plr.GetLevel();
checker = 1;
if (level == 1) {
plr.SetLevel(2);
.SendChatMessage("Message here"); //Send the message, $N displays players nick (i think)
.AddItem(itemID, count); //Replace them... ;p
checker = 0;
};
if (checker == 1) {
.SendChatMessage("You have already recieved your gift and free level!"); //self explanatory
};
};
//Replace the XXX with the entry...
.RegisterUnitEvent(XXX, 7, levelup);