Author Topic: binding admin/clientmenu  (Read 3559 times)

0 Members and 1 Guest are viewing this topic.

DbI

  • Guest
binding admin/clientmenu
« on: July 25, 2006, 04:05:41 PM »
I have a simple question. Is it possible to bind the ULX Admin and Client Menus to a key? Whenever I try it says that "ulx adminmenu" and "ulx clientmenu" are not commands. Any help would be great.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: binding admin/clientmenu
« Reply #1 on: July 25, 2006, 04:27:38 PM »
DBi,
 Using version 2,
bind <key> "ulx menu"

 Using ULX v1.x
bind <key> "ulx_menu"
<-- use menu, gives you choice of admin or client, binding only one key

If its not working for you, you either don't have ULX running, or you don't have yourself added to the admin list correctly.
Try that, bring back more detail/error if it doesn't work :)

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

DbI

  • Guest
Re: binding admin/clientmenu
« Reply #2 on: July 25, 2006, 04:49:49 PM »
That worked perfectly. Thanks a ton! Now I can police my biddies with ease.  ;D

Offline Patrick_

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: binding admin/clientmenu
« Reply #3 on: July 28, 2006, 02:14:56 PM »
Actually, when you use:

Code: [Select]
bind <key> "ulx menu",

It gives you a help menu, as in it did not work. Binds do not work if they have spaces in it. Because of the different console commands for v2, it cannot be binded, which is really making me mad, I am going to have to switch back a version.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: binding admin/clientmenu
« Reply #4 on: July 28, 2006, 03:11:34 PM »
Patrick, if you put quotes around the command to bind to, like in my reply, it will work.
Quotes let the bind use more than one word.

Try it in your game console.
If you wanted to bind M as your menu key.

bind m "ulx menu"

Thats what I had to do.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Patrick_

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: binding admin/clientmenu
« Reply #5 on: July 28, 2006, 03:15:55 PM »
Great, alteaste that works now. Can you answer my post on eSwep? Joko couldn't help me.