Check that M: is at the start and other minor changes.
This commit is contained in:
parent
367cea2212
commit
31b8538e51
3 changed files with 3 additions and 7 deletions
|
@ -22,7 +22,7 @@
|
|||
// The AVsitter SITTER # the chain settings are for.
|
||||
// -> You can use -1 to mean all sitters, but that will mean that the very same
|
||||
// chain settings and pose list will be applied to all at the same time. If
|
||||
// you don't want that, then you need to add one script per sitter.
|
||||
// you don't want that, then you need to add one script per sitter.
|
||||
|
||||
integer SITTER = 0;
|
||||
|
||||
|
|
|
@ -260,7 +260,7 @@ integer prop_menu(integer return_pages, key av)
|
|||
{
|
||||
if (i < llGetListLength(MENU_LIST))
|
||||
{
|
||||
if (llSubStringIndex(llList2String(MENU_LIST, i), "M:") != -1)
|
||||
if (llSubStringIndex(llList2String(MENU_LIST, i), "M:") == 0)
|
||||
{
|
||||
jump end;
|
||||
}
|
||||
|
|
|
@ -89,11 +89,6 @@ Out(integer level, string out)
|
|||
}
|
||||
}
|
||||
|
||||
integer IsInteger(string data)
|
||||
{
|
||||
return llParseString2List((string)llParseString2List(data, ["8", "9"], []), ["0", "1", "2", "3", "4", "5", "6", "7"], []) == [] && data != "";
|
||||
}
|
||||
|
||||
integer get_number_of_scripts()
|
||||
{
|
||||
integer i = 1;
|
||||
|
@ -255,6 +250,7 @@ remove_sitter_props_by_pose(string sitter_pose, integer remove_type3)
|
|||
send_command(llDumpList2String(["REM_INDEX"] + text, "|"));
|
||||
}
|
||||
}
|
||||
|
||||
remove_sitter_props_by_pose_group(string msg)
|
||||
{
|
||||
list props = get_props_by_pose(msg);
|
||||
|
|
Loading…
Reference in a new issue