For example if I am passing this:
Birthday Event,Monday
I want to have
string dataEvent = ???? someway to get that first value from sval
string dataWeekday = ???? someway to get that second value from sval
Then I can use it later:
llWhisper(0, "Event: " + dataEvent + " will be held on " + dataWeekday + "!!!"
;CODE
remote_data(integer type, key channel, key message_id, string sender, integer ival, string sval) {
if (type == REMOTE_DATA_CHANNEL) { // channel created
//DEBUG(["Channel opened", "REMOTE_DATA_CHANNEL", channel, message_id, sender, ival, sval]);
gChannel = channel;
//llSay(0, "Ready to receive requests on channel \"" + (string)channel +"\"");
state go; // start handling requests
} else DEBUG(["Unexpected event type", type, channel, message_id, sender, ival, sval]);
}Any ideas or solutions for this?