Server Help - Mainchat script

· PS FAQ · Search Forum · Any ET related problems? Post them here
Veteran
Posts: 1444
Joined: Mon Oct 02, 2006 0:00
Location: <(°v°)>

Server Help - Mainchat script

Postby Pancake » Wed Feb 27, 2008 19:33

qsay "^7No Spawnkilling, Spawncaming, Teamkilling, Teambleending & Farming!"
wait 1999
qsay "^7Visit us: ^0myurl"
wait 1999
qsay "^7Questions? Suggestions? Bugs? ^0myurlagain ^7or ^0anyurl"
wait 1999
qsay ^7"Have fun while playing here!"


how i do this as Server owner (putted to NoQuater folder) as "myname.cfg" and in the server.cfg i putted "exec myname.cfg" how i do this like the msgs that it isnt endless... if i put it 6000 times in a file stands TextFile overloaded or so... any script that it starts at qsay "^7No Spawn..." again when it ended...

how i do this..

!Thanks
stopped playing et. now lurking csgo. find me on steamcommunity with /id/pancookie1

Website Manager
User avatar
Posts: 6378
Joined: Tue May 09, 2006 0:00
Location: Netherlands

Postby warren-the-ape » Wed Feb 27, 2008 21:51

You mean a MOTD - Message Of The Day?

Create a file with;

Code: Select all
set g_msgpos 0 //0=chat 1=center screen 2=left notification area
set g_msgs 10 //time interval between messages in seconds

set g_msg1 "your message"
set g_msg2 "your message"
set g_msg3 "your message"

//and so on..
"When the pin is pulled, Mr. Grenade is not our friend." Image

Veteran
Posts: 1444
Joined: Mon Oct 02, 2006 0:00
Location: <(°v°)>

Postby Pancake » Thu Feb 28, 2008 15:06

neee :P i got already some msgs but i mean

MSG and Banner event in mainchat

that there runs the msgs AND the chats :D

currently is it !myname exec = exec myname.cfg but i want do that the server sends those messages with non end :P
stopped playing et. now lurking csgo. find me on steamcommunity with /id/pancookie1

Website Manager
User avatar
Posts: 6378
Joined: Tue May 09, 2006 0:00
Location: Netherlands

Postby warren-the-ape » Thu Feb 28, 2008 16:20

Hmm? And why do you want to do that?

You are kinda vague but what i understand is;
A !command you can start and will run in an endless loop after you start it?

Its exactly what an MOTD does.

And why not switch MOTD's?
- mymotd.cfg (!my-motd); displays your messages
- standardmotd.cfg (!standardmotd); switches back to the standard messages
"When the pin is pulled, Mr. Grenade is not our friend." Image

Return to ET Help Desk

Who is online

Users browsing this forum: No registered users and 2 guests