uget-sleep checks a server to see if it's running and will sleep until the server is stopped.  This allows you to ensure a server is stopped before proceeding in your script.

On linux run by calling mono.  I.e:  mono uget-sleep.exe

The panel's API info is available at:  http://www.brainless.us/forum/viewtopic.php?f=21&t=244

Any arguments with spaces should be enclosed in " "'s

Commandline syntax:
uget-sleep <url> <username> <password> <id>

Where
<url> = the base url to your control panel.  i.e. https://demo.brainless.us
<username> = panel username
<password> = panel password
<id> = ID of the item (could be user/server/extra ID) the command should be ran against

uget-sleep will return a non zero number if there is an error.
Return Codes:
0 = OK
1 = Missing commandline arguments
2 = Panel is offline or invalid username/password
3 = The panel returned an error when executing the API command.