Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
function script AddPoints {
set .@accountID, getarg(0);
set .@amount, getarg(1);
//set #ACHIEVEPOINTS, #ACHIEVEPOINTS + .@amount;
getitem $shardIds[0], .@amount;
message rid2name(.@accountID), "You just won " + .@amount + " Shard" + (.@amount > 1 ? "s" : "") + " !";
return;
}