Difference between revisions of "UO.Msg"
From OpenEUO
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 ASCII code for a carridge return 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(). |
Revision as of 20:20, 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 ASCII code for a carridge return 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().