Raised This Month: $ Target: $400
 0% 

Getting server_cmd() response


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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