View Single Post
  #7  
Old 03-30-2007, 02:53 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Where "tokens[1]" is, is where your parameter will go, if you tokenize the player chat before having to remove the player.

I.E.

PHP Code:

function onPlayerChats()
{

if (
player.chat.starts"/remove" )) 
{
tokens player.chat.tokenize();
clientr.levelbans.remove(tokens[1]); //Assume this is the account of player
}

__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote