diff --git a/AVsitter2/[AV]root-security.lsl b/AVsitter2/[AV]root-security.lsl index e50c5e8..804f357 100644 --- a/AVsitter2/[AV]root-security.lsl +++ b/AVsitter2/[AV]root-security.lsl @@ -109,7 +109,7 @@ main_menu() dialog(string text, list menu_items) { llListenRemove(menu_handle); - menu_handle = llListen(menu_channel = ((integer)llFrand(0x7FFFFF80) + 1) * -1, "", llGetOwner(), ""); // 7FFFFF80 = max float < 2^31 + menu_handle = llListen((menu_channel = ((integer)llFrand(0x7FFFFF80) + 1) * -1), "", llGetOwner(), ""); // 7FFFFF80 = max float < 2^31 llDialog(llGetOwner(), product + "\n\n" + text, order_buttons(menu_items), menu_channel); llSetTimerEvent(600); } diff --git a/AVsitter2/[AV]select.lsl b/AVsitter2/[AV]select.lsl index 27b5d93..cdecaaa 100644 --- a/AVsitter2/[AV]select.lsl +++ b/AVsitter2/[AV]select.lsl @@ -241,7 +241,7 @@ default } } } - notecard_query = llGetNotecardLine(notecard_name, variable1 += 1); + notecard_query = llGetNotecardLine(notecard_name, (variable1 += 1)); } } }