Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Need help with a script!

Keno Pontoppidan
Registered User
Join date: 20 Oct 2005
Posts: 75
08-19-2006 13:14
Ok im trying to get this if to check if the detected key is on a list. Heres what im using.

if(llDetectedKey(0) != for(i = 0; i < llGetListLength(access);llList2String(access, i++))

Thanks in advance.
Joannah Cramer
Registered User
Join date: 12 Apr 2006
Posts: 1,539
08-19-2006 13:19
CODE

if( llListFindList( access, [llDetectedKey(0)] ) == -1 ) { // not found }
else { // found }