View Single Post
  #6  
Old 01-20-2007, 08:46 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
After another think of this, I figured you could do it through
HTML Code:
function onPlayerChats()
{
  if (player.chat != "levelUpdate")
  {
    return false;
  }
  requesttext("options", "");
}
function onReceiveText(texttype, textoption, textlines) 
{
  for (temp.curLine = 0; temp.curLine < textlines.size(); temp.curLine++) 
  {
    if (textlines[temp.curLine].starts("staff=")) 
    {
      temp.curStaff = textlines[temp.curLine].tokenize(); 
      if (player.account in temp.curStaff)
      {
         temp.hasFound = true;
         break;
      }
    }
  }
  if (temp.hasFound)
  {
    this.onCreated(); 
  }
}
Not really tried it, but I guess it could work, pretty pointless though...
Upon inspection, it didn't work at all... My conclusion being "Script koni_test deleted by Chandler"
Reply With Quote