Author Topic: Is my script messed up?  (Read 319 times)

this is my script:

function serverCmdpoop (%client,%target)
{
   if (%client isAdmin == True && isObject (findclientbyname(%target)))
   {
       echo("serverCmdpoop triggered by "@%client.name@" and was targetting "@findclientbyname(%target).name@"!");
                if(isObject(findclientbyname(%target).player))
      {
         messageAll ('',<color:ffffff> <font:impact:30> findclientbyname (%target).name@"<color:ffffff> <font:impact:30> is a piece of poop, OMG!");
      }
   }
}

i dont know why but for some reason it just wont work. If theres something wrong with it please tell me. thanks

wouldn't this go in coding help?