Raised This Month: $ Target: $400
 0% 

Getting server_cmd() response


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rain
Senior Member
Join Date: Oct 2004
Location: Poland
Old 01-25-2005 , 15:53   Getting server_cmd() response
Reply With Quote #1

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.
__________________

Last edited by rain; 07-06-2008 at 11:26.
rain is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 01-25-2005 , 16:03  
Reply With Quote #2

Things printed into the server console cannot be returned to AMXX.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
rain
Senior Member
Join Date: Oct 2004
Location: Poland
Old 01-25-2005 , 17:00  
Reply With Quote #3

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. :-)
__________________

Last edited by rain; 07-06-2008 at 11:26.
rain is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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