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
|
@ -260,7 +260,7 @@ integer prop_menu(integer return_pages, key av)
|
||||||
{
|
{
|
||||||
if (i < llGetListLength(MENU_LIST))
|
if (i < llGetListLength(MENU_LIST))
|
||||||
{
|
{
|
||||||
if (llSubStringIndex(llList2String(MENU_LIST, i), "M:") != -1)
|
if (llSubStringIndex(llList2String(MENU_LIST, i), "M:") == 0)
|
||||||
{
|
{
|
||||||
jump end;
|
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 get_number_of_scripts()
|
||||||
{
|
{
|
||||||
integer i = 1;
|
integer i = 1;
|
||||||
|
@ -255,6 +250,7 @@ remove_sitter_props_by_pose(string sitter_pose, integer remove_type3)
|
||||||
send_command(llDumpList2String(["REM_INDEX"] + text, "|"));
|
send_command(llDumpList2String(["REM_INDEX"] + text, "|"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
remove_sitter_props_by_pose_group(string msg)
|
remove_sitter_props_by_pose_group(string msg)
|
||||||
{
|
{
|
||||||
list props = get_props_by_pose(msg);
|
list props = get_props_by_pose(msg);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue