| llMessageLinked:
|
//plugin:awards refers to awards.php in sloodle/mod/hq-1.0/plugins/awards.php
string plugin = plugin:awards,function:makeTransaction\nAWARDID:+(string)currentAwardId+"\n";
//data is the data we'll pass to the makeTransaction function in awards.php
string data = "SOURCE_UUID:"+(string)owner;
data += "|AVUUID:"+((string)avuuid;
data += "|AVNAME:"+avname;
data += "|POINTS:"+(string)points;
data += "|DETAILS:owner%20modify%20ipoints,OWNER:"+llEscapeURL(llKey2Name(owner))+",SCOREBOARD:"+(string)llGetKey()+",SCOREBOARDNAME:"+llGetObjectName();
//send the plugin function request via the plugin_channel
llMessageLinked(LINK_SET, PLUGIN_CHANNEL, plugin+data, NULL_KEY);
|