Quote:
Originally Posted by Tigairius
Could also do this:
|
Or this:
PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
// space to weed out a ridiculous word (?sethatman)
if (player.chat.starts("sethat ")) {
// no searching compared to token
player.attr[1] = client.ishat = player.chat.substring(7);
}
}