stilpu 0 Posted October 7, 2009 Asked this on OFPEC as well. Has anyone managed to make some use of the server VM? I'm trying to run a script on regularCheck, but no matter what I add in that line, I keep getting an error in arma.rpt regarding a missing semicolon. Example 1 regularCheck = "diag_log (_this select 0)"; Error in expression <diag_log (_this select 0)> Error position: <(_this select 0)> Error Missing ; Example 2 regularCheck = "[] exec ""\myscripts\test.sqs"";"; Error in expression <[] exec "\myscripts\test.sqs";> Error position: <exec "\myscripts\test.sqs";> Error Missing ; Is the server VM limited to just the kick/ban/users commands? http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting Share this post Link to post Share on other sites
.kju 3105 Posted October 7, 2009 Check this thread: http://forums.bistudio.com/showthread.php?t=62651 Share this post Link to post Share on other sites
stilpu 0 Posted October 8, 2009 Thank you, I was afraid of this. A word on what I was trying to implement, maybe Suma or someone in the team reads this and reconsiders implementing some of the commands: I wanted to exec an SQS script which would be dynamically written and contain userids of players to be kicked/banned. Since it's SQS, it will be parsed on every exec, so you could change the userid's on the fly by editing the SQS. This would allow admins to remotely admin the server or even automatically kick for TKs, asset stealing or any other server rules (using a 3rd party script/program which reads arma2.rpt and for logged events from a mission or a mod - via diag_log). Share this post Link to post Share on other sites
.kju 3105 Posted October 8, 2009 You can query IDs now too via http://community.bistudio.com/wiki/getPlayerUID. Use black screen or some nasty methods to drop him out of the game. Share this post Link to post Share on other sites