the script is like this..
// when touched, present a dialog with four color choices
integer CHANNEL = 42; // dialog channel
list MENU_MAIN = ["0", "1","2", "3","4", "5", "Options..."]; // the main menu
list MENU_OPTIONS = ["11", "22", "33", "44", "...Back"]; // a submenu
default {
state_entry() {
CHANNEL = llFloor( llFrand( 10000.0 ) + 60000 ); // dialog channel (random 60000 - 70000)
llListen(CHANNEL, "", NULL_KEY, ""
; // listen for dialog answers (from multiple users)}
touch_start(integer total_number)
{
llDialog(llDetectedKey(0), "TEXT HERE", MENU_MAIN, CHANNEL); // present dialog on click
}
listen(integer channel, string ownername, key id, string message)
{
if (llListFindList(MENU_MAIN + MENU_OPTIONS, [message]) != -1) // verify dialog choice
{
if (message == "Options..."
llDialog(id, "Choose and action!", MENU_OPTIONS, CHANNEL); // present submenu on request
else if (message == "1"
llSay(0, ownername + "SCRIPTED MESSAGE HERE";
is there something i can change so i can only use the menu? and others can access the sub menu?
thanks for the help