Depends on if you're using the nwservctl.sh script that skilladron and I suggested.
If you are you can simply use the
./nwservctl.sh say (your message)
This isn't an entire script, I have it posted somewhere else I think.....
#!/bin/bash
cd /home/nwnserver/nwn
./nwservctl.sh say -------------------------------------------
sleep 1
./nwservctl.sh say NOTE: SERVER WILL BE RESTARTING IN 30 MINS PLEASE SAVE AND BE READY
sleep 1
./nwservctl.sh say -------------------------------------------
sleep 600
.....
.....
Modifié par Calvinthesneak, 14 juin 2011 - 06:49 .