News:

Come Chat with us live! Learn how HERE!

Main Menu

Ingame Chat advertisements.

Started by jngdwe, November 29, 2008, 09:32:12 AM

jngdwe

Is there any way i can have ingame advertisements every 30-60 seconds?

mooseberry

 :-\

It may have something to do with cp.
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

David

What a useful reply.

I've done it before with a script to send rcon commands called from cron.
I think there's a patch somewhere to do it too.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Paradox

P-g-qvm has g_msg and g_msgTime.

g_msg is the message to be repeated, can contain newlines via \n.

g_msgTime is the repeat rate in minutes.

If you want to change it to chat, just remove the CP, and replace it with a print.

∧OMG ENTROPY∧

Lakitu7

I merged it to mine over time as well, so you've got a choice of (as far as I know) two, if you need that feature, or do what David said assuming you're using a Unix-based system.