LavishScript:Developing Commands

From Lavish Software Wiki
Revision as of 00:44, 4 March 2008 by GliderPro (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Introduction

LavishScript commands are much like DOS command line programs. When a user or script executes the command the arguments are passed to the handler via the familiar argc and argv variables. The name of the command is passed as argv[0].

Basics

  1. Create the command handler
  2. Register the command with InnerSpace