Template:AdminBot Event Variables Table
From SmartBots Developers Docs
// Event usage:
link_message(integer sender,integer cmd, string data, key id) {
if(cmd == {{{event}}}) {
llOwnerSay("Event " + cmd + " arrived! Data:\n" + data);
}
}
link_message(integer sender,integer cmd, string data, key id) {
if(cmd==SB_COMMAND_FAILED) {
llOwnerSay("Event " + cmd + " arrived! Data:\n" + data);
}
}
API parameters
llMessageLinked function accepts str and id parameters. Their meaning for {{{command}}} is explained below:
Variable | Required | Description. |
---|