Thread: obj.filter()
View Single Post
  #13  
Old 04-01-2007, 04:41 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Quote:
Originally Posted by Rapidwolve View Post
Well I'm not really sure what the "str" param would contain so obj.filter(array) would make more sense.
PHP Code:
this.cantsay = {"era""chandler""newb"};

function 
onPlayerChats() {
   
player.chat.filter(this.cantsay);

Depends, on how you perceive the world "filter".
PHP Code:
player.account.filter({"Rapidwolve""off sod"}); 
Rearrange the last part.
Reply With Quote