Dear,Welcome to the board.
By MessageBox it isn't necessary that an user must click a button.
The delay-time can influence it. F.e. by using a value of 3 seconds
the box will disappear after 3 seconds with or without an user click.
The way of changing the messages of a MessageBox are:
code:
$cr=CHR(13)+CHR(10)
;
$message="Hello, "+@userid+$cr+"Welcome and have a nice day."
$title="Informative"
$style=64 ; OK + Information
$delay=3
$null=MessageBox($message, $title, $style, $delay)
By an error situation you can change it to:
code:
$cr=CHR(13)+CHR(10)
;
copy s ss
$message= "System dectect error "+@error
$message=$message+$cr+$cr+"Explanation: "+@serror
$message=$message+$cr+$cr+"Please contact your network administrator."
$title="Warning"
$style=16 ; OK + STOP
$delay=10
$null=MessageBox($message, $title, $style, $delay)
Greetings.
------------------
Site map: