Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- key Owner;
- integer listen_handle;
- integer lchan;
- default
- {
- on_rez(integer start_param)
- {
- llResetScript();
- }
- state_entry()
- {
- lchan = -19735;
- Owner = llGetOwner();
- listen_handle = llListen(lchan,"","","");
- }
- listen(integer channel, string name, key id, string message)
- {
- if(channel == lchan)
- {
- if(llGetOwnerKey(id) == Owner )
- {
- if (message == "rainbow") llSetLinkTexture(LINK_SET, "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", ALL_SIDES);
- else if (message == "rainbow_steal") llSetLinkTexture(LINK_SET, "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", ALL_SIDES);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement