Author Topic: numbering players......  (Read 3977 times)

0 Members and 1 Guest are viewing this topic.

Offline the_fool

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
numbering players......
« on: September 27, 2006, 01:18:17 AM »
the idea i have is that when a player joins the server they are automatically numbered.for example if someone named mingebag joined the server they would be numbered and in the list of players their name would show up as 1-mingebag and then when the next person joined they would be 2 and so on.this way when you want to use a command on a player such as ulx_team instead of typing the players steam id you could just type in their number.this would also eliminate the problem that occurs on listen servers where a person joins that has no name and you can not boot them.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: numbering players......
« Reply #1 on: September 27, 2006, 06:24:47 AM »
They're already numbered in the order they join! Try "!ulx slap 1" sometime ;). I admit though, that there isn't a way to list the player's numbers currently... guess I'll have to make one :). Great idea!
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: numbering players......
« Reply #2 on: September 27, 2006, 08:08:58 PM »
the_fool,
 don't forget, you can use partial names.
ulx_team Jam RED would change me, JamminR, to red.
At least, i think you can in ulx v1.x, which you seem to be using.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming