We'd log to add some diag_log statements that include the players name that activates the script. This will allow us to track which of the admins is using admin tools and in which situations. Keeps everyone honest when you know your actions are logged.
We are currently using Blue Phoenix Admin Tools and while they are nice and suite our needs i had some concerns since it basically allows admins some pretty powerful tools and can be abused. I came up with a simple diag_log statement i tried added in the spectate script and it seems to break the script. Here is a sample example.
showCommandingMenu "#USER:zombieDistanceScreen"; WaitUntil{ZobieDistanceStat}; titleText [format["Zombie shield activated with distance %1 meters!",ZombieDistance],"PLAIN DOWN"]; titleFadeOut 4; diag_log (""ADMIN TOOLS: Zombie Shield Activated for "" + (name _x));" \n } else { ZobieDistanceStat=false;
which is supposed to be called when the script is executed
and when the script is deactivated is this set of code.
}; }; titleText ["Zombie shield deactivated!","PLAIN DOWN"]; titleFadeOut 4; diag_log (""ADMIN TOOLS: Zombie Shield Deactivated for "" + (name _x));" \n
Anyone have any pointers as to why it doesn't work? Thanks for helping if its something obvious. I'm only a novice coder and the syntax looks ok to me.