Tremulous Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Come Chat with us live! Learn how
HERE!
Home
Help
Search
Login
Register
Tremulous Forum
»
Community
»
Servers
»
Ingame Chat advertisements.
Print
Pages: [
1
]
Go Down
Author
Topic: Ingame Chat advertisements. (Read 2388 times)
jngdwe
Posts: 3
Turrets: +0/-0
Ingame Chat advertisements.
«
on:
November 29, 2008, 09:32:12 am »
Is there any way i can have ingame advertisements every 30-60 seconds?
Logged
mooseberry
Community Moderators
Posts: 4005
Turrets: +666/-325
Re: Ingame Chat advertisements.
«
Reply #1 on:
November 29, 2008, 09:33:43 am »
It may have something to do with cp.
Logged
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]
मैं हिन्दी का समर्थन
~Mooseberry.
David
Spam Killer
Posts: 3543
Turrets: +249/-273
Re: Ingame Chat advertisements.
«
Reply #2 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.
Logged
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
Posts: 2612
Turrets: +253/-250
Re: Ingame Chat advertisements.
«
Reply #3 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.
Logged
∧OMG ENTROPY∧
Lakitu7
Tremulous Developers
Posts: 1002
Turrets: +120/-73
Re: Ingame Chat advertisements.
«
Reply #4 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.
Logged
Print
Pages: [
1
]
Go Up
Tremulous Forum
»
Community
»
Servers
»
Ingame Chat advertisements.