Ok, so I need to break up the return data to check and print it out, and I've tried all I could think of, but its not go. Is it passible to client at all?
Ive tried doing
PHP Code:
temp.poo = sendListerRequest("checkinguild", {temp.pl.account, temp.pl.guild})[0];
and so on but it wont send in triggerClient.
Iv also done
PHP Code:
if (waitfor(this, "ReceiveText", 15)) {
if (params[0] == "lister") {
temp.returndata = params;
temp.returndata.delete(0);
temp.guildcheck = returndata[0];
temp.guildacct = returndata[1][0];
temp.guildname = returndata[1][1];
temp.guildnick = returndata[1][2];
temp.guildrank = returndata[1][3];
echo(guildcheck,guildacct,guildname,guildnick,guildrank);
//return {guildcheck,guildacct,guildname,guildnick,guildrank};
triggerClient("gui",name,"gotGuildInfo",guildcheck,guildacct,
guildname,guildnick,guildrank);
}
which has been the closest, but doing that trigger is useless too. Ive also tried to send the sendListerRequest function in the triggerClient itself as param2, then breaking it up clientside, but that didnt work either. I'm out of ideas. :/
When i echo the last one i posted, its all fine, just need to send it off to client.