The idea is to quickly insert the name of a player in a saycommand using a compass - a rather trivial thing. If you use a custom chat colour, you can set it accordingly. It should be straight forward to add other actions based on @cn, but I think that would be just as useless as my old moderate gui.
- {l Code}: {l Select All Code}
// players compass by Bonifarz
// suggested key binding:
// bind "P" [showcompass players]
cnstart = 0
chatcolour = ""
// or define a custom colour here:
// chatcolour = "^f[0xffffff]"
// or use your profile colour:
// chatcolour = (concatword "^f[" $playercolour "]")
newcompass players "textures/player" [
loop i 8 [
cn = (+ $cnstart $i)
if (&& (isconnected $cn) (! (isai $cn))) [
compass (getclientname $cn) $i [
saycommand $chatcolour (getclientname @cn)
]
]
]
compass "more players" "p" [
cnstart = (+ $cnstart 8)
if (> $cnstart $serverclients ) [
cnstart = 0
]
sleep 10 [
showcompass players
]
]
]
EDIT: Some clean up.