As an ex-professional Visual Basic programmer, and a die-hard Supermegatopia MUCKer, it's only natural I started writing VBScript for my MUSHclient. Lots and lots of VBScript. Tonnes of it. Some of it's kludgey. Some of it's REALLY kludgey. This is where I put on my mortarboard cap, pick up my pointer, and get all instructorly with regards to the intricacies of Visual Basic Scripting for MUSHclient.
To try a lesson, simply click on the lesson title below! If it's not active yet, then it's under development.
Lesson One:
Ack! I've just been paged! -- This is the simplest of my routines. It requires TWO subroutines and THREE triggers. It's also the one I wrote most recently, so it's the least kludgey.
Lesson Two:
Offline Inventory -- How to keep track of an ever-increasing number of items. Based on Evil Twin's Backpack of Terror source code (which is in turn based on his random name selector), this teaches how to use a world variable as a storable array of strings. This one is long, but it's broken down into stages for those with small digestive systems.
Lesson Three:
Pick a Color! -- This expansion to the world variable "array" system is what lets Polychroma (the Technicolor Zebra) change her stripes. It's a simple INSTR search coupled with a dedicated count/search like in Offline Inventory.
Lesson Four:
Let's Get Random! -- In development now, this enhancement to the Backpack of Terror will add a random factor to my searches of the Backpack. That is, when I pass an item number to the backpack through this routine, it'll STILL have a chance to pick the wrong item. Poor, poor Evil Twin.