ItsMods

Full Version: auto command
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need something that will automatically run a command on map load or every time the level changes.
what sort of cmd?
Use OnMapChange and OnFastRestart methods, put commands there.
Don't understand. How would I do this?
public override void OnMapChange()
you really need to say what kind of command.. The reply you're getting is, that it is definitely possible, but since nobody knows exactly what you are asking for, nobody knows what to suggest except for the method.

If you want to run a command like a cmd command e.g. explore.exe, or xcopy pernament.ban or something, it's possible, but you need to know how to make plugins + compile them. People here could probably help with that.

If you wanted to know what the method was that gets ran at a certain event then your question has been answered.
use this simple code here that @8q4s8 created and just add the cmd you want to it.

http://www.itsmods.com/forum/Thread-Help...timer.html