Fix LSL script bugs: indentation error in Bot_Manager, TestBot prefix consistency, and typo in calculator emoji

This commit is contained in:
RebeccaNod1 2025-09-03 18:58:27 -05:00
parent fd2c0beaa3
commit 7cb9366291
3 changed files with 3 additions and 3 deletions

View file

@ -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, [":"], []);

View file

@ -126,7 +126,7 @@ default {
perilPlayer = "";
names = [];
pickQueue = [];
llOwnerSay("🧜Game Calculator ready!");
llOwnerSay("🧮 Game Calculator ready!");
}
on_rez(integer start_param) {

View file

@ -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;
}
}