Projects » Door Bell script

A simple doorbell script. it makes a sound but it also tells you who's ringing, in im or in public chat. Also contains an antispam feature.
Added by: Ketsu Anaguma
Last Update: 3 years ago
Project Category: Furniture
👍 2 like

Code

File name Added By Last Updated Actions
doorbellscript Ketsu Anaguma 3 years ago View


Comments

MANY ERROS, SYNTAX FROM START TO FINISH.
like(0)
Seems this is a script for SL... The line "else llSay(0, "secondlife:///app/agent/" + (string)userkey + "/inspect " + ringnotice);" cant work in OS. There are better door bells in HG.
I got 2 warnings..the other one was with the sound.
I altered to llPlaySound(llGetInventoryName(INVENTORY_SOUND, 0), 10.0);
and deleted the "string bellsound = llGetInventoryName(INVENTORY_SOUND,0);"...so this Error didnt exist anymore.
Edit: I deleted also the "who" in this line. Now it works: if (publicshout == FALSE) llOwnerSay(userkey + " " + ringnotice);
like(0)