key av;
integer i;
integer HUD_channel;
string texture_uuid;
integer face = 4; // which face should be set on the slave posters, ALL_SIDES can be used also
integer faceread = 4; // which face of the master should be the source
string groupuuid = "4730561d-45e9-4c11-279a-1064d6050c4c"; // if groupinviter is used
default
{
state_entry()
{
HUD_channel=-97533;
llListen(HUD_channel,"","","");
}
changed(integer change)
{
if (change & CHANGED_TEXTURE)
{
texture_uuid = llGetTexture(faceread);
llRegionSay(HUD_channel, texture_uuid+"|"+(string)face);
}
}
listen(integer channel, string name, key id, string message)
{
list messagelist = llParseString2List(message,["|"],[]);
string message=llList2String(messagelist,0);
av = llList2Key(messagelist,1);
if (message == "poster_action")
{
if (llGetInventoryNumber(INVENTORY_NOTECARD) > 0)
{
llInstantMessage(av,"♥ Thank you for your interest, "+llGetDisplayName(av)+". Here comes the WHATEVER - please accept.");
i=0;
while(i < llGetInventoryNumber(INVENTORY_NOTECARD))
{
llGiveInventory(av,llGetInventoryName(INVENTORY_NOTECARD,i));
i++;
}
}
if (llGetInventoryNumber(INVENTORY_LANDMARK) > 0)
{
llInstantMessage(av,"♥ Thank you for your interest, "+llGetDisplayName(av)+". Here comes the WHATEVER - please accept.");
i=0;
while(i < llGetInventoryNumber(INVENTORY_LANDMARK))
{
llGiveInventory(av,llGetInventoryName(INVENTORY_LANDMARK,i));
i++;
}
}
if (llGetInventoryNumber(INVENTORY_TEXTURE) > 0)
{
llInstantMessage(av,"♥ Thank you for your interest, "+llGetDisplayName(av)+". Here comes the WHATEVER - please accept.");
i=0;
while(i < llGetInventoryNumber(INVENTORY_TEXTURE))
{
llGiveInventory(av,llGetInventoryName(INVENTORY_TEXTURE,i));
i++;
}
}
// Weblink
// llLoadURL(av, "Please be so kind to fill out the application form: " , "https://....");
// Teleport
// llRegionSayTo(av, 0, "\n♥ Yeah "+llGetDisplayName(av)+", welcome to Petite Village DgT'23. 10/22/22 Noon SLT \nCome on over and enjoy the show: [secondlife:///app/teleport/Dizza/172/152/1074 Dinkie got Talent]");
// Groupjoin via nearby chat
// llRegionSayTo(av, 0, "\n♥ Yeah "+llGetDisplayName(av)+", welcome to Petite Village. Dinkie Galore :-) \nClick link to join our group: "+ "secondlife:///app/group/" + groupuuid + "/about\n");
// Groupjoin via PopUp
// llDialog(av,"\n♥ Yeah "+llGetDisplayName(av)+", thank you for your interest to join my group - click me:\n\n secondlife:///app/group/" + groupuuid + "/about\n",["Dismiss"],2);
/*
llRegionSayTo(av, 0, "\n♥ Yeah "+llGetDisplayName(av)+", welcome to Petite Village. Dinkie Galore :-) \n
Enjoy your stay and wander around!\nIf you want to go easy on your paws - here are the TPs to all stores: \n
[secondlife:///app/teleport/Dizza/114/214/21 La Boutique] - Main clothing store\n[secondlife:///app/teleport/Dizza/125/171/22 BoM Box] - For BoM and BoM+ clothing\n[secondlife:///app/teleport/Dizza/132/224/23 Accessoires] - Jewellery, Scarves, Handbags and...\n[secondlife:///app/teleport/Dizza/109/194/21 Beauty Dept.] - Make-Up, Tattoos, Lashes, Eyes and...\n[secondlife:///app/teleport/Dizza/116/181/21 Kitty Choo] - Iconic shoes for little feet\n[secondlife:///app/teleport/Dizza/125/186/21 Costume Boutique] - Costumes & complete Outfits\n[secondlife:///app/teleport/Dizza/135/237/21 My Secret Garden] - Plants & Decor");
llRegionSayTo(av, 0, "\n[secondlife:///app/teleport/Dizza/101/216/21 The Market] - Newness & Specials\n[secondlife:///app/teleport/Dizza/152/222/23 Nofu's Store] - Gadgets, Instruments, Shirts and...\n[secondlife:///app/teleport/Dizza/150/192/21 Ava Little] - Home & Decor\n[secondlife:///app/teleport/Dizza/100/190/21 Club Kitten] - Club wear\n[secondlife:///app/teleport/Dizza/98/193/24 Hot Cature] - Ladies Chic & formal \n[secondlife:///app/teleport/Dizza/98/194/27 Gentlemen's Club] - Distinguished style for tomcats \n[secondlife:///app/teleport/Dizza/135/188/21 Mad Mesh] - Mesh Templates");
llRegionSayTo(av, 0, "\nFind many more on Marketplace: [https://marketplace.secondlife.com/stores/191763 Lycia's] / [https://marketplace.secondlife.com/stores/181515 Nofu's]\n
Don't miss to join our group: "+ "secondlife:///app/group/" + groupuuid + "/about\n
Meet us on our: [https://petitevillage.blogspot.com/ Blog], [https://www.youtube.com/channel/UCTCjz36zmd6KTT9ZUJXdsdg Youtube], [https://www.flickr.com/groups/petitevillage/pool/ Flickr], [https://www.facebook.com/groups/petitevillage/ FB], [https://www.instagram.com/lyciaquintessa/ Insta]\n \nOr just relax and enjoy: [secondlife:///app/teleport/Dizza/90/208/21 The Beach], [secondlife:///app/teleport/Dizza/127/200/21 The Café], [secondlife:///app/teleport/Dizza/114/169/21 The Biergarten], [secondlife:///app/teleport/Dizza/142/223/26 The Boogie Club]");
*/
}
}
}