Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list spesa= [
- "Pane",
- "Latte",
- "Uova",
- "Farina"
- ];
- default
- {
- state_entry()
- {
- llSay(0, "Script running");
- llSetText("Lista della spesa, \ntoccami per sapere \ncosa comprare",<0,1,0>,1);
- }
- touch_start(integer count)
- {
- string avatarname=llDetectedName(0);
- integer i;
- for(i=0;i<llGetListLength(spesa);i++)
- {
- llSay(0,avatarname+" compra '"+llList2String(spesa,i)+"'");
- }
- llSay(0,"=======================");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement