ULX

Author Topic: Cexec  (Read 3380 times)

0 Members and 2 Guests are viewing this topic.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Cexec
« on: April 30, 2007, 01:38:47 PM »
Does ulx cexec use standard console commands?  I have seen some people join my server with really horrible names, and i have tried using ulx cexec to change their name, but it never seems to do anything.

ulx cexec "***" name "^&%"

Is that done right, or can you not do this?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cexec
« Reply #1 on: April 30, 2007, 01:52:42 PM »
Code: [Select]
] ulx cexec me name blah
(ADMIN) Megiddo ran "name blah" on Megiddo
Megiddo changed name to blah

Worked fine for me. Not sure what your problem might be.
Experiencing God's grace one day at a time.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Cexec
« Reply #2 on: April 30, 2007, 02:21:24 PM »
Well i just tried it out some more, and the command only works when:
rcon ulx cexec "playername" name "Test"

And it seems to work with partial names in the first name slot, and you don't need ""

I am a superadmin on the server, why must i use rcon?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cexec
« Reply #3 on: April 30, 2007, 02:22:56 PM »
I wasn't using rcon on my server, nor is it a listen server. Does your target user have a space in their name?
Experiencing God's grace one day at a time.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Cexec
« Reply #4 on: May 02, 2007, 03:46:22 PM »
Yes they did, i have tried with and without quotes around the name.

ulx cexec "test test" name "testtest"

Or should i just do:

ulx cexec test name testtest


cause it seems to recognized parts of names.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cexec
« Reply #5 on: May 02, 2007, 03:52:07 PM »
It does parts of names yes, but it shouldn't matter if you're using 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: Cexec
« Reply #6 on: May 02, 2007, 06:56:25 PM »
It does parts of names yes, but it shouldn't matter if you're using quotes.
The only time it will matter if you use quotes is when you use a "full name" with spaces in it. So, yes, quotes are required if you have a space.
Partial with no space, then no.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming