AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Getting server_cmd() response (https://forums.alliedmods.net/showthread.php?t=9624)

rain 01-25-2005 15:53

Getting server_cmd() response
 
Is there a way to obtain the information printed normally through the server/client console when using server_cmd() command?

Let's say I would like to do sth like this:
Code:
server_cmd("listid")

And use the 'returned' information to create and print a list of current bans. Well, it's just an example. Any way to achieve it? I'd rather not fiddle with banned.cfg and the like - need more general solution, which would change the behaviour of server_cmd from a 'one-way hole' to a more 'interactive' tool. ;-) Unfortunately couldn't find any good replacement for server_cmd. Hoping you could help.

Twilight Suzuka 01-25-2005 16:03

Things printed into the server console cannot be returned to AMXX.

rain 01-25-2005 17:00

Seems like I will have to play with some kind of rcon looping. I don't like it. ;-) Hoped I would get any answer but this. :-)


All times are GMT -4. The time now is 19:16.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.