 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Oct 05, 2006 3:23 pm
[1.08] #Message of Strictly number values are not displayed |
If you issue any of the following commands, text will not be displayed.
#MESSAGE 12345
#MESSAGE "12345"
but adding any text character will cause it to be displayed.
#MESSAGE 12345a
#MESSAGE "12345 "
The compiled code is below.
| Code: |
0000 LINE 0 ; #MESSAGE 12345
0012 INT 12345
0020 CMD message (1)
0032 LINE 1 ;
#MESSAGE "12345"
0044 LITERAL "12345"
0060 CMD message (1)
0072 LINE 2 ;
0084 LINE 3 ;
#MESSAGE 12345a
0096 STR '12345a'
0112 CMD message (1)
0124 LINE 4 ;
#MESSAGE "12345 "
0136 LITERAL "12345 "
0152 CMD message (1) |
|
|
_________________ Asati di tempari! |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Oct 05, 2006 4:09 pm |
From the zMUD help file:
| Quote: |
Syntax: #MES [time] string
Displays a small window containing the specified string as a message. The window is small and surrounded by a red border. There is a button in the window to close it. If the window is not closed within 10 seconds, it closes automatically. Optionally, you can specify the time for the window to remain open as the first argument, and give the message string as a second argument. |
So if the first argument is a number, it's being taken as the time delay for the window. Now, I'll see if I can fix this so that when there is only one argument that it gets used as the message string instead of just the window delay time. |
|
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Oct 05, 2006 6:52 pm |
At one point I started to suspect that (and I really should have checked) but I wanted to do a sanity check.
Part of it is that CMUD reference pages read a little differently.
#message s t u
s: string (optional) - Message to be displayed
t: string
u: string |
|
_________________ Asati di tempari! |
|
|
 |
|
|
|