BoSs391 Posted September 3, 2019 Share Posted September 3, 2019 (edited) I'm having a small script problem, i apparently have made too many button options, i can't seem to figure out how to add a multi page script in. Can someone assist, going to post the script i have, i just need one page added Edit: I have 0 skills or knowledge in scripting, this was a free one i've added upon list list_one = ["Carress","Grab","Brush","Arouse","Yank","Squeeze","Hug","Play","Stroke","Tease","Lick","Slap","Grope","Lick","Hump","Admire","Bite","Finger","Bump","Swat","Fondle","PussyLicks","Look At"]; string owner; integer lock = FALSE; integer listn; integer rand; integer chan; default { attach(key n) { llResetScript(); } on_rez(integer n) { llResetScript(); } state_entry() { chan = 100 + (integer)llFrand(20000); owner = llKey2Name(llGetOwner()); llListen(chan,"","",""); } touch_start(integer total_number) { key dk = llDetectedKey(0); if(dk == llGetOwner()) { llDialog(dk,"Change option.",["lock","unlock"],chan); } else if(lock == FALSE){ llDialog(dk,"What u want to do with "+owner+".",list_one,chan); } else { llInstantMessage(dk,"This is currently off."); } } listen(integer c, string n, key i, string m) { // tail commands if(m == "lock") { lock = TRUE; llOwnerSay("Locked"); } if(m == "unlock") { lock = FALSE; llOwnerSay("Unlocked"); } // fun events if(m == "Carress") { llSay(0, " "+n + " hugs " + owner + "'s tail close to them, rubbing it gently against their tummy. "+n + " chuckles softly and winks. "); } if(m == "Grab") { llSay(0, " "+n + " grabs " + owner + "'s tail and cuddles it softly. She blushes deeply and wriggles her tail, trying to break free."); } if(m == "Brush") { llSay(0," "+n + " pulls out a soft brush and begins to stroke it against " + owner + "'s tail. She giggles and wags her tail softly."); } if(m == "Arouse") { llSay(0," "+n + " grabs " + owner + "'s tail and runs their tongue from the tip to the bottom. She blushes and murrs, trying to wag her tail free, her hard nipples starting to show though her shirt."); } if(m == "Yank") { llSay(0," "+n + " has yanks " + owner + "'s tail for attention."); } if(m == "Squeeze") { llSay(0," "+n + " squeezes the tip of " + owner + "'s tail gently. Does it feel soft?"); } if(m == "Hug") { llSay(0," "+n + " hugs " + owner + "'s tail softly. <3"); } if(m == "Play") { llSay(0," "+n + " play's with " + owner + "'s tail, swatting at it. She giggles and waggles her tail softly. <3"); } if(m == "Stroke") { llSay(0," "+n + " reaches over and strokes " + owner + " behind her Tail while she purrss and covers her hard nipples. <3"); } if(m == "Tease") { llSay(0," "+n + " teases " + owner + " by stroking the underside of her tail up and down with a paw. Hehe, you meanie. <3"); } if(m == "Lick") { llSay(0," "+n + " licks " + owner + "'s s Tail slowly and carefully making her slightly aroused and wonder how good you are at licking her *****. <3"); } //==================================================================== if(m=="Slap") { llSay(0," "+n+ " slaps " + owner + "'s ass hard! Oh Murr! ;3;"); llPlaySound("475a3e83-6801-49c6-e7ad-d6386b2ecc29",1.0); } if(m=="Grope") { llSay(0," "+n+ " puts their paws on " + owner + "'s ass, squeezing her buttcheeks hard! Oooooh~"); } if(m=="Lick") { llSay(0," "+n+ " bends down behind " + owner + " and sensuously licks her ass, causing " + owner + " to let out a soft moan in pleasure. <3 "); } if(m=="Hump") { llSay(0," "+n+ " locks their arms around " + owner + "'s waist and dry-humps her butt without inhibitions! Well, hi there!"); } if(m=="Admire") { llSay(0," "+n+ " carresses " + owner + "'s ass and softly rumbles, sexy ass. <3"); } if(m=="Bite") { llSay(0," "+n+ " growls and bites " + owner + "'s rear playfully, wanting that hot ass all for themself. Hurts so good... <3"); } if(m=="Finger") { llSay(0," "+n+ " trails a finger along " + owner + "'s butt. Reaching the tailhole they suddenly insert a finger causing " + owner + " to yelp and squirm, nipples growing hard, slowly to the sensation."); } if(m=="Bump") { llSay(0," "+n+ " bumps their rump together against " + owner + "'s butt and winks. ;)"); } //==================================================================== if(m=="Swat") { llSay(0," "+n+ " swats " + owner + "'s ass softly! She gives a soft yelp, and squirms, blushing hard."); } if(m=="Fondle") { llSay(0," "+n+ " puts their hands onto the between between " + owner + "'s legs, fondling her slowly!"); } if(m=="PussyLicks") { llSay(0," "+n+ " bends down before " + owner + " and teasingly licks her ***** , causing " + owner + " to let out a soft moan in pleasure."); } if(m=="Look At") { llSay(0," "+n+ " carresses " + owner + "'s thighs and lets a soft moan as they admire and look at the ***** between her legs up close."); } } } Edited September 3, 2019 by BoSs391 Link to comment Share on other sites More sharing options...
Kardargo Adamczyk Posted September 3, 2019 Share Posted September 3, 2019 Simplest way is to split up the button list and add a button page-2 to list 1 and page-1 to list 2, then when the page-2 is called you run the dialog with list 2 and vice versa Link to comment Share on other sites More sharing options...
Da5id Weatherwax Posted September 3, 2019 Share Posted September 3, 2019 There's a pretty decent multipage menu example in the script library on these very forums Link to comment Share on other sites More sharing options...
BoSs391 Posted September 3, 2019 Author Share Posted September 3, 2019 8 hours ago, Kardargo Adamczyk said: Simplest way is to split up the button list and add a button page-2 to list 1 and page-1 to list 2, then when the page-2 is called you run the dialog with list 2 and vice versa 3 hours ago, Da5id Weatherwax said: There's a pretty decent multipage menu example in the script library on these very forums As i have said in my Edit, I have 0 skills or knowledge in scripting, this was a free one i added upon, i tried working the code of a couple of multipage scripts into it, but i keep getting syntax errors, that's kinda why i placed it here, so i could maybe have someone with actual skill and knowledge insert one properly Link to comment Share on other sites More sharing options...
panterapolnocy Posted September 3, 2019 Share Posted September 3, 2019 (edited) Quick edit, but should work. list list_one = ["Carress", "Grab", "Brush", "Arouse", "Yank", "Squeeze", "Hug", "Play", "Stroke", "Tease", "Lick", "PAGE 2"]; list list_two = ["Slap", "Grope", "Lick+", "Hump", "Admire", "Bite", "Finger", "Bump", "Swat", "Fondle", "PAGE 1", "PAGE 3"]; list list_three = ["PussyLicks", "Look At", "PAGE 2"]; openPage(list listToOpen, key pageFor) { if (lock == TRUE) { llInstantMessage(pageFor, "This is currently off."); } else { startListener(); llDialog(pageFor, "What u want to do with "+owner+".", listToOpen, chan); } } stopListener() { llSetTimerEvent(0); llListenRemove(gListenHandle); } startListener() { gListenHandle = llListen(chan, "", "", ""); llSetTimerEvent(60); } string owner; integer lock = FALSE; integer chan; integer gListenHandle; default { attach(key n) { llResetScript(); } on_rez(integer n) { llResetScript(); } state_entry() { chan = 100 + (integer)llFrand(20000); owner = llKey2Name(llGetOwner()); llSetMemoryLimit(llGetUsedMemory() + 20480); } touch_start(integer total_number) { key dk = llDetectedKey(0); if (dk == llGetOwner()) { startListener(); llDialog(dk, "Change option.", ["lock", "unlock"], chan); } else { openPage(list_one, dk); } } timer() { stopListener(); } listen(integer c, string n, key i, string m) { stopListener(); // tail commands if (m == "PAGE 1") { openPage(list_one, i); } else if (m == "PAGE 2") { openPage(list_two, i); } else if (m == "PAGE 3") { openPage(list_three, i); } else if (m == "lock") { lock = TRUE; llOwnerSay("Locked"); } else if (m == "unlock") { lock = FALSE; llOwnerSay("Unlocked"); } // fun events else if (m == "Carress") { llSay(0, " "+n + " hugs " + owner + "'s tail close to them, rubbing it gently against their tummy. "+n + " chuckles softly and winks. "); } else if (m == "Grab") { llSay(0, " "+n + " grabs " + owner + "'s tail and cuddles it softly. She blushes deeply and wriggles her tail, trying to break free."); } else if (m == "Brush") { llSay(0," "+n + " pulls out a soft brush and begins to stroke it against " + owner + "'s tail. She giggles and wags her tail softly."); } else if (m == "Arouse") { llSay(0," "+n + " grabs " + owner + "'s tail and runs their tongue from the tip to the bottom. She blushes and murrs, trying to wag her tail free, her hard nipples starting to show though her shirt."); } else if (m == "Yank") { llSay(0," "+n + " has yanks " + owner + "'s tail for attention."); } else if (m == "Squeeze") { llSay(0," "+n + " squeezes the tip of " + owner + "'s tail gently. Does it feel soft?"); } else if (m == "Hug") { llSay(0," "+n + " hugs " + owner + "'s tail softly. <3"); } else if (m == "Play") { llSay(0," "+n + " play's with " + owner + "'s tail, swatting at it. She giggles and waggles her tail softly. <3"); } else if (m == "Stroke") { llSay(0," "+n + " reaches over and strokes " + owner + " behind her Tail while she purrss and covers her hard nipples. <3"); } else if (m == "Tease") { llSay(0," "+n + " teases " + owner + " by stroking the underside of her tail up and down with a paw. Hehe, you meanie. <3"); } else if (m == "Lick") { llSay(0," "+n + " licks " + owner + "'s s Tail slowly and carefully making her slightly aroused and wonder how good you are at licking her *****. <3"); } //==================================================================== else if (m == "Slap") { llSay(0," "+n+ " slaps " + owner + "'s ass hard! Oh Murr! ;3;"); llPlaySound("475a3e83-6801-49c6-e7ad-d6386b2ecc29", 1.0); } else if (m == "Grope") { llSay(0," "+n+ " puts their paws on " + owner + "'s ass, squeezing her buttcheeks hard! Oooooh~"); } else if (m == "Lick+") { llSay(0," "+n+ " bends down behind " + owner + " and sensuously licks her ass, causing " + owner + " to let out a soft moan in pleasure. <3 "); } else if (m == "Hump") { llSay(0," "+n+ " locks their arms around " + owner + "'s waist and dry-humps her butt without inhibitions! Well, hi there!"); } else if (m == "Admire") { llSay(0," "+n+ " carresses " + owner + "'s ass and softly rumbles, sexy ass. <3"); } else if (m == "Bite") { llSay(0," "+n+ " growls and bites " + owner + "'s rear playfully, wanting that hot ass all for themself. Hurts so good... <3"); } else if (m == "Finger") { llSay(0," "+n+ " trails a finger along " + owner + "'s butt. Reaching the tailhole they suddenly insert a finger causing " + owner + " to yelp and squirm, nipples growing hard, slowly to the sensation."); } else if (m == "Bump") { llSay(0," "+n+ " bumps their rump together against " + owner + "'s butt and winks. ;)"); } //==================================================================== else if (m == "Swat") { llSay(0," "+n+ " swats " + owner + "'s ass softly! She gives a soft yelp, and squirms, blushing hard."); } else if (m == "Fondle") { llSay(0," "+n+ " puts their hands onto the between between " + owner + "'s legs, fondling her slowly!"); } else if (m == "PussyLicks") { llSay(0," "+n+ " bends down before " + owner + " and teasingly licks her ***** , causing " + owner + " to let out a soft moan in pleasure."); } else if (m == "Look At") { llSay(0," "+n+ " carresses " + owner + "'s thighs and lets a soft moan as they admire and look at the ***** between her legs up close."); } } } Edited September 3, 2019 by panterapolnocy 1 Link to comment Share on other sites More sharing options...
BoSs391 Posted September 3, 2019 Author Share Posted September 3, 2019 Yay, it works exactly as i needed it to, Thank You Panterapolnocy Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now