Jump to content

Jinx Ember

Resident
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have a very simple object touch/say script for body parts, but I'm looking to add access lists onto it. I'm hoping it's possible to add in a function (probably by notecard?) which will say a different line for people on certain access lists, as well as a default one for people who aren't on any access list. Here is the basic script I currently have: default { state_entry() { } on_rez(integer start_param) { llResetScript(); } touch_start(integer total_number) { integer i; for (i = 0;i < total_number;i += 1) { string origName = llGetObjectName(); string owner; owner = llKey2Name( llGetOwner() ); owner = llList2String( llParseString2List( owner, [" "], [] ), 0 ); string avName; avName = llDetectedName(i); avName = llList2String( llParseString2List( avName, [" "], [] ), 0 ); llSetObjectName( avName ); llSay(0, "/me prods " + owner + "'s nose."); llSetObjectName( origName ); } } } I'm sadly rather lacking in the LSL Coding Ability department so would love any assistance! :) For example if a user is not on any access notecard they will get a default "/me prods " + owner + "'s nose." Users on access list #1 would get "/me pokes " + owner + "'s nose hard. Ouch!" , users on access list #2 something different.
×
×
  • Create New...