Hey,so i've just got autodonations,and i'm adding in the case stuff,as in:
Code:
case 5: //
if (c.getItems().freeSlots() > 12) { //4 crystal keys + coins that means 5 spot, minus 1 = 4
if (give) {
c.playerRights = 4;
c.isDonator = 1;
c.getItems().addItem(995, 300000000); //here we have the 995 being the item id and the 100000000 being the amount of this item.
c.getItems().addItem(989, 8);
c.getItems().addItem(4724, 1);
c.getItems().addItem(4726, 1);
c.getItems().addItem(4728, 1);
c.getItems().addItem(4730, 1);
}
} else {
return false;
}
break;
and i need to make it so it makes one or more of the players skills to 99.How would i do this?
Also,i have a command which is ::voteforcash that takes me to a webpage.I copied the command,pasted it and changed it to ::forums to take me to another webpage. Problem is,the ::voteforcash works fine,but the ::forums doesnt!? how do i fix?