hmm
HTML Code:
function onPlayerChats() {
if (player.chat != "buy arrows") return;
player.chat = this.onBuyArrows();
}
function onBuyArrows() {
if (player.rupees < 30) return "You don't have enough money! You need 30 gralats";
player.darts += 30;
player.rupees -= 30;
return "Yaaaay!! Thanks tuff guy";
}
quite funky