Page 1 of 1

Exclude rcon messages via Dmprecache

Posted: Sun May 13, 2007 6:16 pm
by Cobra
Anyone know how to exclude rcon messages via Dmprecache.scr. I have search the internet but didnt found a good solution for it. I found many ways to exec iprint messages or bolt messages, but I want to say it in a "console'messages. I have try it with cvars but didnt work yet.

Does anyone know a good solution for it?

Thanks alot! :)

Posted: Sun May 13, 2007 6:55 pm
by Jardi-Gol
Cobra, I'm looking for someone that can help me in doing those iprint messages at the seconds that I want, with scr files. The way that I know to disable the messages is to edit the file from precache with a program and turn off the messages. Just erase them... Will you help me on iprint messages??

Posted: Sun May 13, 2007 7:13 pm
by Cobra
Iprint messages can quikly be excluded via Dmprecache or whereever else. If you choose for the Dmprecache, put the following lines into your Dmprecache.scr.

Code: Select all

main:
level waittill spawn
thread welcomemsg
wait 10.0
end
welcomemsg:
wait 30.0
iprintln "Welcome to my server"
wait 10.0
iprintln "Enjoy it"
wait 10.0
iprintln "www.myclan.com"
wait 300.0 
goto welcomemsg
end
If this doesnt work, just put it in your server cfg.

Posted: Sun May 13, 2007 7:17 pm
by Jardi-Gol
But if I want a different message for each map, I need to creat other scr files to be executed??

Posted: Sun May 13, 2007 7:21 pm
by Cobra
All things what be excluded via Dmprecache are autoloaded everytime when a new map loads.

Posted: Sun May 13, 2007 7:47 pm
by Jardi-Gol
Cobra, I think you didn't understand my pourpose... I want to display a different yellow message for each map on my rotation. So, I need a different .scr file for each map to send the personal messages, right??

Posted: Mon May 14, 2007 4:55 pm
by Cobra
But before my question is gonna to the forgotten corner.. Anyone know a solution on my question?