i think functions should have custom variables that can only be used inside the functions, e.g.
PHP Code:
if (playerenters) {
killplayer(#a,Hahah you suck);
}
function killplayer(account,message) {
with (getplayer(account)) {
playerhearts=0;
say2 message;
}
}
that would be teh 1337
