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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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