Tremulous Forum

Community => Servers => Topic started by: jngdwe on November 29, 2008, 09:32:12 am

Title: Ingame Chat advertisements.
Post by: jngdwe on November 29, 2008, 09:32:12 am
Is there any way i can have ingame advertisements every 30-60 seconds?
Title: Re: Ingame Chat advertisements.
Post by: mooseberry on November 29, 2008, 09:33:43 am
 :-\

It may have something to do with cp.
Title: Re: Ingame Chat advertisements.
Post by: David on November 29, 2008, 12:43:29 pm
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.
Title: Re: Ingame Chat advertisements.
Post by: Paradox on November 29, 2008, 06:33:05 pm
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.
Title: Re: Ingame Chat advertisements.
Post by: Lakitu7 on November 29, 2008, 06:39:09 pm
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.