diskings 1 Posted June 2, 2012 (edited) As you can see in the addon request, I simply want a way to advertise a message every so often on my server. Should be super simple, and coding it isn't the problem. But after reading up on how to create addons/scripts etc, I still have NO IDEA what to do. It's not the syntax, or the programming language that confuses me, it's how to get it to run. Everything I've read is like "Go into the mission and add a player, then add this to the 'init' line". Yeah well no, I'm not making a mission, IM JUST TRYING TO MAKE A GODDAMN SCRIPT TO EXECUTE WHEN I RUN THE SERVER. I tried adding -init=execVM "ads.sqf" hoping it would run my script when the server loads up but it didn't seem to do it. This is all I want to know, is how to do anything in Arma that isn't directly related to the mission itself. I've never seen something set up so convoluted as Arma. Normally (take CSS for example), I can code up a plugin in sourcePawn, and add it to the autoexec file to run it on server start up(lets say). Arma doesn't seem to have this in any way, shape, form or capacity. I'm getting frustrated because after like a week of reading, I still have NO idea where to EVEN BEGIN, and once I know, then I'll probably be done (since my script itself will just consiste of a while(true) loop with a hint and sleep command or so)..... Edited June 2, 2012 by Foxhound Share this post Link to post Share on other sites
Gunter Severloh 2546 Posted June 2, 2012 Hi. There is message of the day in the server.cfg // WELCOME MESSAGE ("message of the day") // It can be several lines, separated by comma // Empty messages "" will not be displayed at all but are only for increasing the interval motd[] = { "", "", "Two empty lines above for increasing interval", "Welcome to our server", "", "", "We are looking for fun - Join us Now !", "http://www.example.com", "One more empty line below for increasing interval", "" }; motdInterval = 5; // Time interval (in seconds) between each message is that what you had in mind, or another way? Share this post Link to post Share on other sites
diskings 1 Posted June 2, 2012 Hi.There is message of the day in the server.cfg // WELCOME MESSAGE ("message of the day") // It can be several lines, separated by comma // Empty messages "" will not be displayed at all but are only for increasing the interval motd[] = { "", "", "Two empty lines above for increasing interval", "Welcome to our server", "", "", "We are looking for fun - Join us Now !", "http://www.example.com", "One more empty line below for increasing interval", "" }; motdInterval = 5; // Time interval (in seconds) between each message is that what you had in mind, or another way? Yes I suppose, because that doesn't run properly (like it says it should). Share this post Link to post Share on other sites
foxhound 1937 Posted June 2, 2012 Has nothing to do with an addon discussion. Please post in the correct section, topic moved. Also do not crosspost, no matter this is an addon or not you posted in the request thread as well as created a thread for the same thing. That is not appreciated! Share this post Link to post Share on other sites