//#CLIENTSIDEfunction ChatBar.onTextChanged(temp.text) { if (this.on) { player.chat = temp.text; }}function onWeaponFired(){ this.on = ! this.on; player.chat = "Typewriter " @ (this.on ? "on" : "off") @ "!";}