View Single Post
Author Message
ciprulz
Junior Member
Join Date: May 2015
Location: Madrid
Old 06-29-2015 , 00:05   How to change hostname on rank command
Reply With Quote #1

Hello,

I want to change these lines, for example, when i type rank or kpd shows me these:

nick is on rank 2 of 166 with 384 kills!
nick has 384 : 371 frags, 146 headshots (38%),19% accuracy, and a KD-Radio of 1.04

I want to put the SERVER NAME before the rank/kpd answer.

Example:

If i have two servers running with hlstatsx, with diffrent names like:

server1.example.com
server2.example.com

When i connect to server1.example.com and type rank/kpd, i want to get this answer from hlstatsx:

server1.example.com: nick is on rank 2 of 166 with 384 kills!
server1.example.com: nick has 384 : 371 frags, 146 headshots (38%),19% accuracy, and a KD-Radio of 1.04

and when i connect to server2.example.com and type rank/kpd, i want to get this answer from hlstatsx:

server2.example.com: nick is on rank 2 of 166 with 384 kills!
server2.example.com: nick has 384 : 371 frags, 146 headshots (38%),19% accuracy, and a KD-Radio of 1.04
ciprulz is offline