Difference between revisions of "UO.Msg"
From OpenEUO
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
UO.Msg(str) | UO.Msg(str) | ||
| − | This command sends a series of key-strokes to the client as specified by string str. | + | This command sends a series of key-strokes to the client as specified by string str. IN EUO a '$' sign denoted a carriage return. In OpenEUO you must pass the carridge return character (ascii code 13). |
| + | |||
| + | UO.Msg('my message'..string.char(13)) | ||
Note: Instead of using UO.Msg to speak, whisper, yell, etc. it is more stable and easier to work with UO.Macro(). | Note: Instead of using UO.Msg to speak, whisper, yell, etc. it is more stable and easier to work with UO.Macro(). | ||
Latest revision as of 20:21, 13 October 2010
UO.Msg(str)
This command sends a series of key-strokes to the client as specified by string str. IN EUO a '$' sign denoted a carriage return. In OpenEUO you must pass the carridge return character (ascii code 13).
UO.Msg('my message'..string.char(13))
Note: Instead of using UO.Msg to speak, whisper, yell, etc. it is more stable and easier to work with UO.Macro().