malfunc

infiSTAR notification messages as systemchat?

18 posts in this topic

I want to loop some messages, but I'd like them to show up as "systemchat". I don't see any way to configure this in the config. Are there a good way to do it or do I need a 3rd party script?

ENABLE_NOTIFICATION_MESSAGES = "true";
NOTIFY_MSG_ARRAY[] =
{
//	{-1, -1, 6, 0.6, 0, 0, "#ff0000", "OrbitronLight", "Welcome to our server"},
//	{-1, -1, 4, 0.6, 0, 0, "#1900FF", "OrbitronLight", "Enjoy!"},
//	{-1, 45, 5, 0.6, "safeZoneX", "0.5", "#048B5B", "OrbitronLight", "Protected and administrated by<br/>infiSTAR.de AdminTools, AntiHack and more!"},
//	{15, 15, 8, 0.6, 0, 0, "#E600E6", "OrbitronLight", "15 minutes have passed, drink some water!<br/>(IN REAL LIFE NOT INGAME)"}
};

 

Share this post


Link to post
Share on other sites

Hey man, no one answered this so I was searching for SystemChat to make some needed changes.

Here is how you do what you want. I think. I do this on my servers and it works perfectly.

In InitPlayerLocal.SQF at the bottom

execVM "Automessages.sqf";

Create a new file called Automessages.sqf using Notepad++ or another text editor

Place this text in it, and edit as you wish:

Spoiler

systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit

In your root of mission file place the file Automessages.sqf

Repack and enjoy.

Josh

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement
1 hour ago, GamersRoost said:

Hey man, no one answered this so I was searching for SystemChat to make some needed changes.

Here is how you do what you want. I think. I do this on my servers and it works perfectly.

In InitPlayerLocal.SQF at the bottom


execVM "Automessages.sqf";

Create a new file called Automessages.sqf using Notepad++ or another text editor

Place this text in it, and edit as you wish:

  Reveal hidden contents

systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit
systemchat ('Your Message here');     sleep 180; // Change time of sleep to suit

In your root of mission file place the file Automessages.sqf

Repack and enjoy.

Josh

^ Do not do that please... Terrible programming.
 

fn_send = {
systemChat "Message1"; 
systemChat "Message2"; 
systemChat "Message3";
// add more messages as needed
};
[180, fn_send, [], true] call ExileClient_system_thread_addtask;
//^ 180 seconds.

This, however, is a better alternative to that dudes code.

Edited by Cloud22
  • Like 3

Share this post


Link to post
Share on other sites
57 minutes ago, Cloud22 said:

^ Do not do that please... Terrible programming.
 


fn_send = {
systemChat "Message1"; 
systemChat "Message2"; 
systemChat "Message3";
// add more messages as needed
};
[180, fn_send, [], true] call ExileClient_system_thread_addtask;
//^ 180 seconds.

This, however, is a better alternative to that dudes code.

Yeah much better method.

Ill change mine and release all sorts of stuff with this! Thanks for the lesson man!

I don't think the extra threads will cause any issues at all.

  • Like 3

Share this post


Link to post
Share on other sites

Even more efficient method

MessageArray = [
"Message1",
"Message2",
"Message3",
"Message4"
//Just add more if needed....
];
fn_send = {
{systemChat _x;} forEach MessageArray;
};
[180, fn_send, [], true] call ExileClient_system_thread_addtask;
//^ 180 seconds.
  • Like 2

Share this post


Link to post
Share on other sites
On 4/9/2017 at 8:08 PM, GamersRoost said:

Yeah much better method.

Ill change mine and release all sorts of stuff with this! Thanks for the lesson man!

I don't think the extra threads will cause any issues at all.

 

On 4/10/2017 at 6:05 AM, Cloud22 said:

Even more efficient method


MessageArray = [
"Message1",
"Message2",
"Message3",
"Message4"
//Just add more if needed....
];
fn_send = {
{systemChat _x;} forEach MessageArray;
};
[180, fn_send, [], true] call ExileClient_system_thread_addtask;
//^ 180 seconds.

Thanks both of you! And sorry for late reply, I haven't read them until just now. Forgot to hit the "notify me" switch :/

Aaaanyways, I just tried using Cloud22's version, but it's not working as I hoped it would. This version will output all messages in the array every 180 seconds instead of one message every 180 seconds. I know I can just run several instances of the script with only 1 message, but that would take up a lot of server threads which I guess would be bad.

Any ideas as to how I can get this behaviour (1 message every x seconds)?

Share this post


Link to post
Share on other sites
1 hour ago, malfunc said:

 

Thanks both of you! And sorry for late reply, I haven't read them until just now. Forgot to hit the "notify me" switch :/

Aaaanyways, I just tried using Cloud22's version, but it's not working as I hoped it would. This version will output all messages in the array every 180 seconds instead of one message every 180 seconds. I know I can just run several instances of the script with only 1 message, but that would take up a lot of server threads which I guess would be bad.

Any ideas as to how I can get this behaviour (1 message every x seconds)?

I don't think you can do it efficiently without looping of some sort. And yes many threads may cause a performance decrease. In a case such as this you may be able to just go and use BEC for messages.

  • Like 1

Share this post


Link to post
Share on other sites
11 hours ago, Cloud22 said:

I don't think you can do it efficiently without looping of some sort. And yes many threads may cause a performance decrease. In a case such as this you may be able to just go and use BEC for messages.

Yeah I thought about it, but then I would have to run a whole other application just to get looping messages which seems a bit heavy.

Infistar has a built in function for looping messages, but only the flashy strip club kind. It doesn't seem to support systemchat messages, and I can't get a reply from the infistar dude about it.

  • Like 1

Share this post


Link to post
Share on other sites
11 hours ago, Cloud22 said:

I don't think you can do it efficiently without looping of some sort. And yes many threads may cause a performance decrease. In a case such as this you may be able to just go and use BEC for messages.

This is why I use a UI sleep and have 100 lines of messages. The client handles the load (Thats what she said). The other way is far more pretty, but server threads = no thanks, for me. Im not going to create an event handler for a message. Makes no sense.

If you really must have it so its pretty and does not look like a crazy mess of sleepui's i might suggest using a standard C++ for loop _i (magic) loop. That will keep it on the client side.

1 thread per client for a low population server (like mine are today :( ) would be acceptable. When you consider 50 players all running "wait until" or other threads, this is going to remove the "butter smooth" feeling regardless of the CPS / FPS.

My 2 cents.

Josh

  • Like 1

Share this post


Link to post
Share on other sites
47 minutes ago, malfunc said:

Yeah I thought about it, but then I would have to run a whole other application just to get looping messages which seems a bit heavy.

Infistar has a built in function for looping messages, but only the flashy strip club kind. It doesn't seem to support systemchat messages, and I can't get a reply from the infistar dude about it.

Honestly, its dirty but what i have suggested is the simplest way, as well as lightest way to do this. I have been using them for literally years the same way. I am familiar with the other ways, and this is why i picked this way.

***EDIT***

You can also use :
systemChat format ["[GamersRoost]: %1, Welcome to GamersRoost, you will receive a reward of a %2 in for logging in today. Thank you for choosing GamersRoost", name player, _Reward];

You'll need to get the correct format for your desire, but it makes it awesome to talk directly to the players as well. BEC is crap in my personal view in Arma3 - I still have it running on my Arma 2 community and its great.

Whatever you decide, good luck.

Josh

Edited by GamersRoost

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.