RPGCode — Language Features
In this section of the manual, community member Occasionally_Correct provides a comprehensive overview of the RPGCode scripting language that can be enjoyed by new programmers and veterans alike.
Hi there!
The RPGToolkit Development System is an extremely flexible RPG creation system which allows you to make very nice looking games. Your characters can explore vast worlds, battle enemies, and a whole host of other things you would expect from a role-playing game. What is an RPG without interaction, though? A normal RPG needs more than walking around and fighting: It needs village idiots running around everywhere making smart remarks about the player, or wise men who tell the player what to do. The player also needs to be able to buy and sell items, equipment, and weapons. All of these things (and much more) can be accomplished through the use of the RPGToolkit's built-in scripting language: RPGCode.
RPGCode is very easy to learn. It has a relatively concise syntax for the newcomer and sports both procedural and object oriented programming for the more advanced. It borrows certain features from languages like C++ and has a wide range of built-in functions that allow you to manipulate text, graphics, files, and other things. Whether you're new to programming in general or you're a seasoned pro, RPGCode is easy to pick up after a few short sittings.
The following sections of the manual are setup so that you will progress from understanding the very basics of writing code to concepts and techniques you will be applying to your game most often. The flexibility of RPGCode allows you to do almost anything you want to, so let's begin learning!
To accommodate the 3.1.0 release and the changes it has brought to RPGCode, this manual has been completely rewritten.
— Samuel Bedwell (Occasionally_Correct)
RPGCode