fix: resolve syntax error by renaming variable on line 324
- Changed variable name from 'state' to 'stateVal' on line 324 - Updated corresponding reference on line 325 - Eliminates potential reserved word conflict or invisible character issues - Should resolve LSL syntax error at 324,19
This commit is contained in:
parent
7f13a85274
commit
5646cb52c3
1 changed files with 8 additions and 8 deletions
|
|
@ -321,8 +321,8 @@ handlePublicMessage(string messageData) {
|
|||
} else {
|
||||
string msgType = llList2String(parts, 0);
|
||||
if (msgType == "GAME") {
|
||||
string state = llList2String(parts, 1);
|
||||
llSay(0, "[GAME] " + state);
|
||||
string stateVal = llList2String(parts, 1);
|
||||
llSay(0, "[GAME] " + stateVal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -366,7 +366,7 @@ handleDialogRequest(string dialogData) {
|
|||
|
||||
default {
|
||||
state_entry() {
|
||||
llOwnerSay("📨 [Message Handler] Helper script ready!");
|
||||
llOwnerSay("[Message Handler] Helper script ready!");
|
||||
initializeChannels();
|
||||
}
|
||||
|
||||
|
|
@ -375,9 +375,9 @@ default {
|
|||
if (num == MSG_TOGGLE_VERBOSE_LOGS) {
|
||||
VERBOSE_LOGGING = !VERBOSE_LOGGING;
|
||||
if (VERBOSE_LOGGING) {
|
||||
llOwnerSay("🔊 [Message Handler] Verbose logging ENABLED");
|
||||
llOwnerSay("[Message Handler] Verbose logging ENABLED");
|
||||
} else {
|
||||
llOwnerSay("🔊 [Message Handler] Verbose logging DISABLED");
|
||||
llOwnerSay("[Message Handler] Verbose logging DISABLED");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -393,9 +393,9 @@ default {
|
|||
// Send back kick-specific message ID to avoid conflict with pick management
|
||||
string namesCSV = llList2CSV(names);
|
||||
if (VERBOSE_LOGGING) {
|
||||
llOwnerSay("🔍 [Message Handler] Received request: '" + str + "'");
|
||||
llOwnerSay("🔍 [Message Handler] Names list: " + llDumpList2String(names, ", "));
|
||||
llOwnerSay("🔍 [Message Handler] Sending kick player list: '" + namesCSV + "'");
|
||||
llOwnerSay("[Message Handler] Received request: '" + str + "'");
|
||||
llOwnerSay("[Message Handler] Names list: " + llDumpList2String(names, ", "));
|
||||
llOwnerSay("[Message Handler] Sending kick player list: '" + namesCSV + "'");
|
||||
}
|
||||
llMessageLinked(LINK_SET, 8009, namesCSV, id);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue