Command separator still used even when ignored

Posted by Larkin on Mon 31 Jan 2011 05:43 PM — 4 posts, 18,309 views.

#0
I use ';' as my command separator. I wanted to use a semi-colon in a chat to someone, so I entered ";tell person blah and blah ; with more blah" to make the semi-colon go through. It did, but the last part was still parsed as a second command, which I believe is a bug.
Australia Forum Administrator #1
I can't reproduce that. What version are you using?

My test:


;say hello;world;my;friends

say hello;world;my;friends
You say 'hello;world;my;friends'
<24hp 145m 110mv> <#21036> 


No message about "friends" not being valid, or indeed being treated as a command.

Perhaps you have plugins installed? Try disabling all of them and trying again.
#2
Ah, yes, I see! I hadn't thought of that, but I have a plugin using the OnPluginSend, and it seems to be the one splitting things. I'm not explicitly looking to split the commands, so it still might be some oddity with the function? I'll play with it more when I get time. Thanks!
USA Global Moderator #3
What happens if you double up your semicolons? Like ;; instead of ;