Fix LSL script bugs: indentation error in Bot_Manager, TestBot prefix consistency, and typo in calculator emoji
This commit is contained in:
parent
fd2c0beaa3
commit
7cb9366291
3 changed files with 3 additions and 3 deletions
|
|
@ -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, [":"], []);
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ default {
|
|||
perilPlayer = "";
|
||||
names = [];
|
||||
pickQueue = [];
|
||||
llOwnerSay("🧜Game Calculator ready!");
|
||||
llOwnerSay("🧮 Game Calculator ready!");
|
||||
}
|
||||
|
||||
on_rez(integer start_param) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue