View Single Post
  #13  
Old 12-21-2011, 02:56 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
There won't be a player accessible in that scope, use the function they provided above instead. Example:

PHP Code:
function onCreated() {
  
temp.pl findplayer("yourAccount");
  
temp.pl.chat sendListerRequest("checkinguild", {temp.pl.accounttemp.pl.guild});
}

function 
sendListerRequest(temp.optiontemp.params) {
  
sendtext("lister"temp.optiontemp.params);
  
  if (
waitfor(this"ReceiveText"15)) {
    if (
params[0] == "lister") {
      
temp.returndata params;
      
temp.returndata.delete(0);
      
      return 
temp.returndata;
    }
      
    return 
false;
  }
  
  return 
false;

__________________
Quote:
Reply With Quote