A restart and stop script

Discussion in 'Server & Community Management' started by ewized, Aug 31, 2013.

  1. I realized that I can put a script in the restart part of the config I was wondering if that can return a var so my start script can see that I'm trying to restart my server and not stop it. The basic idea is that.


    Code (Text):
    var restart = false
    do
    //START SERVER
    // When I use the restart command i pull in another script and return a var.
    restart = true
    while
    restart == true