From 7cb93662911c9844b1527768c934eb0eaf9c521e Mon Sep 17 00:00:00 2001 From: RebeccaNod1 Date: Wed, 3 Sep 2025 18:58:27 -0500 Subject: [PATCH] Fix LSL script bugs: indentation error in Bot_Manager, TestBot prefix consistency, and typo in calculator emoji --- Bot_Manager.lsl | 2 +- Game_Calculator.lsl | 2 +- Main_Controller_Linkset.lsl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Bot_Manager.lsl b/Bot_Manager.lsl index 2e55cf4..7a0c17d 100644 --- a/Bot_Manager.lsl +++ b/Bot_Manager.lsl @@ -271,7 +271,7 @@ default { } if (num == -9999) { - if (llSubStringIndex(str, "BOT_PICK:") == 0) { + if (llSubStringIndex(str, "BOT_PICK:") == 0) { // Format: BOT_PICK:bot_1:3:20:1,2,3 (last part is optional already picked numbers) llOwnerSay("[Bot Manager] 📬 RECEIVED BOT_PICK: " + str); list parts = llParseStringKeepNulls(str, [":"], []); diff --git a/Game_Calculator.lsl b/Game_Calculator.lsl index b606eeb..355863a 100644 --- a/Game_Calculator.lsl +++ b/Game_Calculator.lsl @@ -126,7 +126,7 @@ default { perilPlayer = ""; names = []; pickQueue = []; - llOwnerSay("🧜Game Calculator ready!"); + llOwnerSay("🧮 Game Calculator ready!"); } on_rez(integer start_param) { diff --git a/Main_Controller_Linkset.lsl b/Main_Controller_Linkset.lsl index f4db30a..2c77e76 100644 --- a/Main_Controller_Linkset.lsl +++ b/Main_Controller_Linkset.lsl @@ -1062,7 +1062,7 @@ default { integer n; for (n = 0; n < ownerIdx && ownerIsStarter; n++) { string existingName = llList2String(names, n); - if (llSubStringIndex(existingName, "TestBot") != 0) { + if (llSubStringIndex(existingName, "Bot") != 0) { ownerIsStarter = FALSE; } }