[ET]Periodicly send message to console of all players


(Codman) #1

Hello,

is there a possibility to send a message to all connected players on my servers to show a message e.g. every 30 minutes or if the match is over? Is there a built in method or do I have to try playing around with cron? :slight_smile:

thx and bye!


(senator) #2

It is possible, I’ve seen it (ShrubMod), but I can’t tell you how it’s done :slight_smile:


(Riftgarde) #3

It’s ok, you can tell us, we won’t let anyone know you did. :slight_smile:


(SCDS_reyalP) #4

You can do it with etpro or shrub mod. Otherwise, you would have to use an external that talks to the server console. I recommend using one of the mods.
Etpro manual is here: http://bani.anime.net/etpro/adminguide.html


(pgh) #5

Could probably do it with a script too providing your on the server.

Cant be arsed writing it all out but the basic idea is just:

[In autoexec]
exec time_say.cfg

[time_say.cfg]
rconpassword “whatever”
rcon “say Your message for players here;wait (Time in ms);say Next message;wait (so on);say Message again;wait (x);exec time_say.cfg”

Dunno, would work theoreticaly :]


(KingJackaL) #6

Hehehe, yeah - except you can’t do anything else while in a ‘wait’ - move/shoot/etc. So you’d hit your bind and be stuck there for the wait time :|.

Use Shrub/ETPro.

They allow a set of ‘banners’ to be cycled through, printed out so players can see them. They’ll show them sequentially, once every X sec’s. ( where you specify the banners’ content, and X )


(pgh) #7

Hrms… u should be able too.

I have numerous binds that have wait in it lasting for more than 2 seconds and it doesnt effect anything. Its just another command. It’d be like say not being able to move while using +foward :wink:


(Domipheus) #8

can u not execute that on the server tho each map load??


(KingJackaL) #9

Wait command lenghts aren’t measured in seconds. They’re measured ( annoyingly enough ) in FRAMES. So ‘wait 10’ waits for 1/10th of a second if you’re pushing 100fps, and 1 second if you’re pushing 10 fps etc. :disgust:

So no, it WON’T work. Try it yourself if you don’t believe me:

/bind X “wait 10000; say ^3done”

You’ll be able to move your mouse around just fine after pushing ‘X’, but trying changing your movement, jumping etc - you’ll find you’re stuffed until the ‘wait’ command finishes ( it just locks up all keyboard input ).