From 5646cb52c3719876ca1617aa83a8d20c3b7e3a51 Mon Sep 17 00:00:00 2001 From: RebeccaNod1 Date: Sun, 14 Sep 2025 09:55:30 -0500 Subject: [PATCH] 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 --- Controller_MessageHandler.lsl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Controller_MessageHandler.lsl b/Controller_MessageHandler.lsl index 5e4226c..9d32f66 100644 --- a/Controller_MessageHandler.lsl +++ b/Controller_MessageHandler.lsl @@ -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;