View Single Post
  #9  
Unread 08-25-2010, 06:14 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

haha, I figured out a solution. But it's gotta be done during runtime in that "editing text" step.

I tried wrapping the single quote in double quotes, but that made a space.
So I tried putting the second double quote at the end of the command and that works fine.

But it also works fine if I just put the quote after the slash command portion.
So the text editing part ultimately becomes:

useability "Lucan's Pact"

And since it's saving that to an element, it doesn't read the double quotes on executed (which would normally break the slash command functionality)

WOOT

This is a better solution than having to relog to fix single quotes!

Nice thing about that is I can just recommend to wrap everything in double quotes and players won't have to worry about special characters like exclamation points and apostrophes in their messages.
say "drum's testing! special# characters?"
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>

Last edited by Drumstix42 : 08-25-2010 at 06:21 AM.
Reply With Quote