Difference between revisions of "UO.Msg"

From OpenEUO
Jump to: navigation, search
 
(2 intermediate revisions by 2 users 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. A '$' sign within the string denotes a carriage return.
+
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().
Line 9: Line 11:
  
 
[[UO.Macro]]
 
[[UO.Macro]]
 +
 +
[[UO.SysMessage]]

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().

UO.ExMsg

UO.Key

UO.Macro

UO.SysMessage