Register to post in forums, or Log in to your existing account
 

 Related 
Contents
Feature Reference
  Aliases
  Macros
  Variables
  Functions
  Classes
  Triggers
  Buttons
  Gauges
  Paths
  Menus
  Events
  Modules
  Windows
  Packages
  Shared Package Library
  Package Editor
  Docked Windows
  Customizeable Toolbars
  Sessions
  Expressions
  Automapper Module
  Database Module
  Syntax Checking
  Tab Completion
  Status items
  Preferences
  Simutronics Support
  Pueblo Emulation
  Keyboard shortcuts
  MXP
  Threads
  ATCP
  Script Debugger
  Timestamps
  Lua Scripting
    Lua Command Line
    echo
    print
    send
    sendraw
    windows table
    zs Object
Related Links:
  New Features
Lua Scripting [[cmud_lua]] 
Added in v2.0
Starting in CMUD v2.0, integrated Lua scripting was added. Lua is a very popular scripting language because of it's high speed and small size. While zScript remains as the main supported scripting language in CMUD, Lua can be used in many situations for higher speed.

Unlike other scripting languages that use the Microsoft WSH (Windows Scripting Host) support (such as VBScript and JavaScript), Lua support is directly integrated into CMUD. This provides higher speed, but it also provides Lua scripts with direct access to CMUD settings, such as Variables, Aliases, Triggers, etc. This kind of direct access is not currently possible via WSH scripting languages.

To learn the basics of Lua, see the CMUD Lua Tutorial.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net