Raena Parx Posted December 27, 2022 Share Posted December 27, 2022 (edited) Hi. I have two unlinked prims trying to talk to each other integer CH = 925529; The listening prim has this listener: listen(integer channel,string str,key id,string message) The speaking prim only needs to send the channel number (CH) and a message ($msg) (because the key is not relevant) to anything in the listening script. so technically it could just use: llSay(CH, $msg); which by itself gives no syntax errors. But because the listener has 4 parameters, I'm unable to create a syntax that works for the speaking prim. I've tried: llSay(CH, "Toggle", NULL_KEY, $msg); (among others) which seems like it would work. But instead I get this error 3 times: (27,34) : ERROR: Function call mismatches type or number of arguments (27,34) : ERROR: Function call mismatches type or number of arguments (27,34) : ERROR: Function call mismatches type or number of arguments and it wont even let me save the script. I wish I could make the listener just listen for 2 parameters, but I guess that's not an option. Can anyone tell me why the llSay(CH "Toggle", NULL_KEY, $msg); is giving me a syntax error? Thank you so much. Edited December 27, 2022 by Raena Parx saved before completed entering it Link to comment Share on other sites More sharing options...
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now