What version of Lapper are you running?
If you are using the latest version of Lapper, here are the answers for question 1 and 3:
Your 1st question (shutdown server and password it) can be done using "RegisterScheduleAction" which can be found in the "Event OnLapperStart()" section.
You should be looking for "Event OnPB( $userName )" to solve your 3rd question.
After finding that event, make sure you set it like this:
This will disable the whole event.
I can't answer the other question as my Lapper code knowledge is too rusty at the moment.
If you are using the latest version of Lapper, here are the answers for question 1 and 3:
Your 1st question (shutdown server and password it) can be done using "RegisterScheduleAction" which can be found in the "Event OnLapperStart()" section.
You should be looking for "Event OnPB( $userName )" to solve your 3rd question.
After finding that event, make sure you set it like this:
/*
Event OnPB( $userName )
EndEvent
*/
This will disable the whole event.
I can't answer the other question as my Lapper code knowledge is too rusty at the moment.