[an error occurred while processing this directive]
This is an example of a communications console using the PSE. It provides color support. It also stores the communication channel names and frequencies, and loads them back up (via @startup) in case of a sudden shutdown.
Please note - That for the @startup of this object to work the object _MUST_ be in space (since the sc call will give an error message if its not). To make it work right the GOD character needs to add all ship objects into the space DB in his @startup (use slicer's Space utility object, or mine when it comes out if you do not know how to do it). Note: The COMMUNICATIONS HELP command is missing. Commands are: COMM STATUS, COMM FREQ <chan#>=<freq>, COMM LABEL <chan#>=<name>, COMM SEND <chan#>=<message>. Also note two global functions need to be declared - You can either edit the files manually or hardcode them in, or edit the code below manually (your choice) re_() - [edit(%0,%b,_)] de_() - [edit(%0,_,%b)] They're simple and I use them A LOT in my code. Post this in with the GOD Character (since u need to give it the wizbit) - I give it WIZ powers for my master console parent (don't forget to @addparent yours to it)
Code does not format well. See the plain text version.
|Last changed: 15-Feb-2005||Mark Cooke <email@example.com>|