Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: Uncle_FuXX0r on September 25, 2009, 12:18:54 pm

Title: Enable/Disable Scripts
Post by: Uncle_FuXX0r on September 25, 2009, 12:18:54 pm
So I downloaded Soldat Server 2.6.4 yesterday since I've wanted to get into scripting. It's quite simple, mostly because I have a strong programming background as it is. What I would like to know is how you enable/disable scripts on the server. I downloaded ARSSE, and everything works fine. I can join the server, and my first-ever script works. But how do you change the active scripts?
Title: Re: Enable/Disable Scripts
Post by: DorkeyDear on September 25, 2009, 12:56:18 pm
Any and all scripts inside your server's scripts directory are on (assuming Includes.txt is properly filled) - unless if your talking about ARSSE scripting, which then I do not know.
Title: Re: Enable/Disable Scripts
Post by: DarkCrusade on September 25, 2009, 01:03:36 pm
If you started your dedicated server, changed some scripts and want to see the changes while not restarting the server I suggest to use the command /recompile to get what you want.
Title: Re: Enable/Disable Scripts
Post by: Uncle_FuXX0r on September 25, 2009, 03:33:41 pm
Dorkey> Thanks for the info. I am talking about in-game scripts, like mods and such. Not ARSSE scripting. I guess if I need to I'll create a folder for "Inactive Scripts" and place unused scripts there instead of the "scripts" folder.

Crusade> I know about the "/recompile" command. I was just wondering if there was a way to turn a script off completely, not make a change and retry it. But thanks anyhow.  :-)
Title: Re: Enable/Disable Scripts
Post by: VinceBros on September 25, 2009, 03:35:33 pm
I made a script which disable and enable scripts. I will try to find it for ya.

cheers
Title: Re: Enable/Disable Scripts
Post by: tk on September 25, 2009, 03:54:42 pm
http://forums.soldat.pl/index.php?topic=25402.0
Title: Re: Enable/Disable Scripts
Post by: Uncle_FuXX0r on September 26, 2009, 07:13:22 am
Hey, thanks tk. That's what I needed. :-D