PDA

View Full Version : MaM questions.....


Rimmel
02-20-2003, 07:06 AM
Is there a way to send a reply to a remote console... e.g. some one who is not in the game?

(If I keep asking... someone may answer)

Rimmel

Hammer
02-20-2003, 08:37 AM
Unfortunately no! There's no relationship between the time you enter the command and when it actually gets processed, hence the need to assign a statnum to commands for admins to get back responses. I've been considering storing any result messages, i.e. those that would be sent to statnum, in a cvar so that they can at least be viewed, but don't know how useful that would be.

--[MC] Hammer

Rimmel
02-20-2003, 01:17 PM
It would indeed be handy...

Perhaps for mod purposes you could allow a number to be sent with the query (a number defined by the sender) so that the sender could verify the the response was from the actual query sent and not a previous query.

The sender could create a random number.....???

You could perhaps put the bunmber sent in the cvar string in a tag e.g

"<567> This is the response to a command"

If no number was sent the reply would look like this

"This is the response to a command"

It would be esay for a modder the pick out the tag then


Cheers
Rimmel