For whatever reason I'm having trouble just adding to the array.
PHP Code:
function onPlayerChats(){
if(player.chat == "/b"){
boolean.vote = new[boolean.vote.size() + 1];
boolean.vote[this.boolean.vote.size() + 1] = 45;
player.chat = boolean.vote[boolean.vote.size()];
}
}
Will return 45 once, the other values are NULL. Other than that, it works quite nicely.