Hi, can anyone help me set up a pop-up edit box to change the time for my departure? In other words, I would like being able to set a different time when I trigger the alias. Many thanks in advance.
Code:
alias parting {
timerP 11:00 1 1 partall
}
P.S. Is it possible to add a parting message so others know the reason for my leaving?
Thanks Kane for the code, but what I want is to be able to change the time via a custom popup menu. It's kind of like making a $$?="Enter Time " and the time change takes effect.
menu status {
Part All: {
set %t $$?="Set time in hour:minute format $crlf $+ Example 12:30, 00:30 or 0:30"
$iif(($gettok(%t,1,58) <= 24) && ($gettok(%t,2,58) <= 60),parting,unset %t)
}
}
alias parting {
timerP %t 1 1 partall Some Message Here
}