All pastes #784737 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-11-19 20:39 UTC
rendered paste body

// every attachment object needs this script.

// on state entry, each script will send a linkmsg asking for this.

string VERSION_CMD = "refelap";
string VERSION_REPLY = "hacopap";

integer VERSION_NUMBER = 10;

integer VERSION_CHANNEL = -889575;

default
{
    on_rez(integer start_param)
    {
        llRegionSay(VERSION_CHANNEL, (string)VERSION_NUMBER);
    }
    link_message(integer sender_num, integer num, string str, key id)
    {
        if (str == VERSION_CMD)
            llMessageLinked(LINK_THIS, VERSION_NUMBER, VERSION_REPLY, "");
    }   
}