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

UO.ExMsg

UO.Key

UO.Macro

UO.SysMessage