Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Data retrieval from notecards

Attis Box
Registered User
Join date: 18 Jan 2007
Posts: 6
04-18-2007 19:57
Okay, I've been working on various radios, first using touch calls, then touch calls referring to a notecard, then dialog, and finally dialog referring to a notecard.

Now I'm up against the limit of twelve entries per dialog page. I've written a script that presents dialog on touch, and parses station info on notecard, including URL for parcel, short name of station for dialog buttons, and long name for settext.

My question is, how can I get dialog to refer to more stations? I have one button for "radio off" and one button for "page 2" to go to next page of dialog. My notecard has 12 lines, 10 for stations, one for off, and one for page 2.

I'm not sure how to tell dialog to look at second notecard, or is that even what I want to do?

Can I get more stations on one notecard, and still refer to them with dialog? Maybe split more entries into more lists?

Do I need to have second dataserver event to handle second notecard, and if so, how do I get script to do that?

Many thanks!
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
04-18-2007 20:52
Use one notecard, one list, and offset appropriately for each dialog page. If you have 10 dialog buttons available for entries, then the first page will use entries 0-9, the next page will use entries 10-19 ( 0-9 plus 10 ), etc.