ULX

Author Topic: The "ulx vote" command is messed up!  (Read 2925 times)

0 Members and 2 Guests are viewing this topic.

Offline 500Magnum

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
The "ulx vote" command is messed up!
« on: August 24, 2006, 04:56:46 PM »
I am the admin of my server and when I type in something like "ulx vote Should we enable noclip? Yes No" it comes out something like this:

Should
1. we
2. enable
3. noclip?
4. Yes
5. No

Does anyone know how to fix this, thanks in advance! ;)

Paintcan

  • Guest
Re: The "ulx vote" command is messed up!
« Reply #1 on: August 24, 2006, 06:42:27 PM »
It has to know what the question and responses are, format it as such...

ulx vote "Should we enable noclip?" Yes No

Note that if you're using answers with more than one word, you should put quotes around it.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: The "ulx vote" command is messed up!
« Reply #2 on: August 27, 2006, 04:57:48 PM »
Paintcan is correct.
For any words with spaces, in just about any script (not just ULX), best practice is to use "quotes around your whatever"
:)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming