View Single Post
  #1  
Old 02-12-2006, 06:08 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Problems with Admin Tool

Little admin tool I'm scripting. I'm quite new with GS2, so I figured it would be a good first attempt.

Anyway, it's not working, not throwing off any errors either. Hoping I could get some help...


PHP Code:
if (actionserverside) {
  if (
params[0]=="/head") {
      
with (params[1]) {
        
players.headimg=params[2];
      }
    }
...
//#CLIENTSIDE
function onPlayerChats()
{
if (
players.chat.starts("/")) {
    
tokens string.tokenize(players.chat);
    
triggeraction(0,0,"serverside","Staff Tool",tokens[0],tokens[1],tokens[2],tokens[3]);
  }
  } 
anybody seeing what's wrong?


EDIT: Thanks lance, after reading that I checked back and was able to fix the whole tool.
I got the uses of players and player mixed up

Last edited by Mark Sir Link; 02-12-2006 at 06:19 AM..
Reply With Quote