ULX

Author Topic: need to know something so i can be a better moderator.  (Read 2177 times)

0 Members and 2 Guests are viewing this topic.

Offline Undercover Orange

  • Full Member
  • ***
  • Posts: 139
  • Karma: -14
  • Leader of Undercover Gaming Community
need to know something so i can be a better moderator.
« on: April 05, 2017, 11:11:41 AM »
I didn't know where to put this but I would like to know how to bind a key to do a command on the player I'm looking at
~ Undercover Orange

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: need to know something so i can be a better moderator.
« Reply #1 on: April 05, 2017, 12:27:30 PM »
The @ target will target the player you're looking at for ULX commands. To bind a key, use the following command:

Code: [Select]
bind "<KEY>" "ulx <COMMAND> @"
For reference, there are more special targeting characters:
Targeting ExpressionMeaningNotes
^Targets the current player
%<GROUP>Matches all users with access to the given groupInheritance counts - matches that group, plus all groups above that group in the current inheritance branch
#<GROUP>Matches only members of the given group
$<ID>Matches users by IDIDs include SteamIDs, unique IDs, user IDs, and IPs
!<TARGET>Negates the given targeting stringMatches all users except those that match the given targeting string - if paired with %, it matches all users in groups below (but not in) the given group

You may also mix and match targeting strings---just separate each target with a , (comma) to select targets that match any of the given targeting strings.

P.S: This would likely belong in General Chat and Help and Support.
« Last Edit: April 05, 2017, 12:39:17 PM by Bytewave »
bw81@ulysses-forums ~ % whoami
Homepage