Jump to content
Sign in to follow this  
Aeromesi

[CMD] @shutdown

Recommended Posts

So what exactly is my custom command @.shutdown?
Well it was based off @ request.
I modified it a lot and turned it from a whisper into a command, if you input 0 it directly shuts down your map-server.
You input the amount of minutes you want to start the shutdown.
If you type @@shutdown after you set a shutdown, it will cancel out that current shutdown you have in progress!

Enjoy guys, and here you go @  :no1: 

Just download attachment, install in npc folder and you're good to go.

shutdown_cmd.txt

Share this post


Link to post
Share on other sites

No problem dude, didn't take me much time only a couple minutes. Enjoy @@mrlongshen :P

 

*Throws 3 pizzas at @Aeromesi*

Edited by Skyline

Share this post


Link to post
Share on other sites

How about putting @kickall
in this case there will be no rollback to those players. (not so sure)

Share this post


Link to post
Share on other sites

How about putting @kickall

in this case there will be no rollback to those players. (not so sure)

 

//Look for this
if (.Minutes <= 0 ) {
    //add this
    atcommand "@kickall";
    atcommand "@mapexit";// Direct Shutdown? use @mapexit instead
    end;
}
//Look for this
OnTimer120000:     
//add this   
    atcommand "@kickall";     
    atcommand "@mapexit";     
    end; 
}
Edited by Skyline

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.