Raised This Month: $51 Target: $400
 12% 

Script to start HLTV


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 03-22-2012 , 15:14   Script to start HLTV
Reply With Quote #1

I have a few pub servers with HLTVs connected. I'd like them to record gameplay, but I also don't want massive files of nothing happening when the server is empty.

I'm trying to make a script that does something like this:
Monitor server. Perhaps check the server every 10 seconds or something, or even every minute.

If player joins server, start HLTV record.

Continue monitoring every minute. (But don't start a new demo every minute when it sees there is a person - there needs to be something that says "If you're already recording a demo, don't start a new one.")

When the server is empty, it stops the demo.

How could I do something like this?
__________________
Boycott ESEA
My servers
ghostofmybrain 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 00:48.


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