View Single Post
  #2  
Old 04-25-2012, 06:24 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
First of all, try learning GS2 instead of using GS1. In GS2 you'd do:

PHP Code:
function onPlayerChats()
{

To be able to read what the player said, you can read the player.chat string. An example of this would be:

PHP Code:
function onPlayerChats()
{
  if (
player.chat == "hello world") {
    
// do stuff
  
}

__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote