The Odyssey Scripting Tutorials
By Pengwy
Language Basics
- I. Getting Up and Running
- 1. What is MBSL?
- 2. Installing a Server
- II. Your First Script
- 1. The Code
- 2. How does that work?
- III. Conditionals
- 1. If... Then Statements
- 2. If... Then... Else
- 3. Boolean Operators: And, Or
- 4. Select Case Statements
- IV. Variables
- 1. Storing Data
- 2. Variable Types
- 3. Parameters
- 4. Type Conversion
- V. Loops
- 1. For... Next Loops
- 2. While... Wend Loops
- VI. Functions and Subroutines
- 1. Function and Sub
- 2. The Function Header
- 3. Value and Reference
- 4. RunScript
- VII. Arrays
- VIII. Goto and Exit (Tentative)
- 1. Labels and Goto
- 2. Exit Sub
- 3. Exit For
- Infinity. Modulus (Tentative)
Extended Topics
- Spells
- Flags and INIs
- Flags
- INIs
- User-Defined Types
Advanced Topics
- Operators: Precedence and Associativity
- Boolean Operators Revisited
- Binary and Data Encoding
- Base 2 Numbering
- Binary Conversion
- Longs and Strings in Machine Language
- Other Bases
- Sorting and Analysis of Algorithms
- Selection Sort
- Insertion Sort
- Data Structures
- Stacks
- Queues
- Depth-First Search
- Uses
- The Concept
- The Code
The Unknown
- Classes
- Introduction to Classes
- Features of Classes
- Using Classes
- Operator Overloading
- What is Operator Overloading?
- How to Overload Operators
- MBSCIDE
Appendices
- Appendix I. Glossary
- Appendix II. Function Reference
- Appendix III. Scripting Events
- Appendix IV. Operator Reference
- Appendix V. Command Template
Throughout these tutorials, the following code coloring conventions will be used:
Symbols in Black
Keywords in Blue
Functions in Red
Variables in Green
Literals in Purple