The last part is not understood, in my script I have the following:
- script MobDeathMvP -1,{
OnMyMobDead:
set .i, .Items$[rand(getarraysize(.Items$))];
set @rand,rand(10,10);
getitem 11512,3;
getitem .i,1;
set #HEROPOINT , #HEROPOINT + 1;
Right there I must add the points system but I don't know how to add it