Author Topic: Ulx vote  (Read 7112 times)

0 Members and 1 Guest are viewing this topic.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Ulx vote
« on: February 14, 2010, 12:15:28 PM »
On the first Option for ulx vote I cannot have more than 1 word for the first option.  I don't know if it is only my server or if it is suppose to happen.
It isn't really that big of an issue but can get very annoying.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulx vote
« Reply #1 on: February 14, 2010, 02:08:38 PM »
put anything longer than one word in quotes
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx vote
« Reply #2 on: February 14, 2010, 02:40:08 PM »
Aaron, you'll need to know that for many scripts, not just ulx.
<command> "option one" .. place more than one word in quotes when doing commands.
ULX autocompletes player names and other ocmmands in quotes for you from game console too because of this.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Ulx vote
« Reply #3 on: February 15, 2010, 12:54:16 PM »
I have put quotes on it... It just automatically splits up the first option.

ulx vote "This is a test vote" "testing this" "testing this" "testing this"

If I were to type that in console, it would show up like this...
This is a test vote
1. testing
2. this
3. testing this
4. testing this

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulx vote
« Reply #4 on: February 15, 2010, 04:34:08 PM »
Hmm, you're right! In that case, I probably made a mistake with how I dealt with quotes when I took out the datastream dependency. I'll check into it tonight.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx vote
« Reply #5 on: February 15, 2010, 05:31:03 PM »
Ha! In the mean time.. option 5... both 1 and 2!
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulx vote
« Reply #6 on: February 15, 2010, 05:53:51 PM »
Fixed in ULib rev 100
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Ulx vote
« Reply #7 on: February 16, 2010, 01:39:20 PM »
Thanks for fix ;)