Try
- script point_cmd -1,{
OnInit:
bindatcmd("eventpt","commands_limit::OnAtcommand",0,99);
end;
OnAtcommand:
if( .@atcmd_parameters$[0] == "" || .@atcmd_parameters$[1] < 1 || .@atcmd_numparameters > 2 ) {
message strcharinfo(0),"Please enter the exact character name (usage: @evenpt <character name> <number of event points>)";
message strcharinfo(0),"@evenpt failed.";
end;
}
.@charname = .@atcmd_parameters$[0];
.@points = .@atcmd_parameters[1];
.@charid = getcharid(3,.@charname);
if( !isloggedin(.@charid) ) {
message strcharinfo(0),"No character found.";
message strcharinfo(0),"Might be offline or a non-existing character name.";
message strcharinfo(0),"@evenpt failed.";
end;
}
set #EVENTPOINTS, #EVENTPOINTS + .@points, .@charid;
message strcharinfo(0),""+.@points+" Event Points was rewarded to "+.@charname+"";
end;
}
Try to change the poring coin in item_db.txt to
7539,Poring_Coin,Poring Coin,0,0,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ set #EVENTPOINTS, #EVENTPOINTS + 5; },{},{}
PS: Didn't test it. Please let me know if it works.