Link Message API

Rulebook (v1.9 or later) comes with a link message API, that will allow you or third-party developers to send commands.

Message Description integer num string str key id
WEAR Put on the outfit with a specific name 6001 The name of the outfit in Wardrobe -

Example:

Listen for a outfit name on channel 999 by anyone, and put on that outfit:


default
{
    state_entry()
    {
        llListen(999, "", NULL_KEY, "");
    }
    
    listen(integer nChannel, string strName, key keyUUID, string strMessage)
    {
         llMessageLinked(LINK_THIS, 6001, strMessage, NULL_KEY);
    }
}