Difference between revisions of "UO.Msg"

From OpenEUO
Jump to: navigation, search
 
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. IN EUO a '$' sign denoted a carriage return.  In OpenEUO you must pass the ASCII code for a carridge return 13
+
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))
+
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 21: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