I find that when I reply to forum messages I am typing the same things many times, like "please see the FAQ, and here is a link to it" or "this is how you copy a trigger into the client".
Taking inspiration from Wikipedia, the forum now has some extra forum codes that have special behaviour (as shown in the examples below). To use them, simply include in your post (eg. [pasting]) and they will expand out to show the special predefined message. A couple take arguments (like [function=ColourNote] or [faq=22]).
The expanded template should show up in a nice yellow box with a border. If it does not, try reloading the page, as the definition for that box is in the style.css file on the server, which your web browser probably caches. Reloading the page will get the new version.
Below are the available templates, in alphabetic order:
[arduino]
[bug]
- The version of MUSHclient you are using. Use the Help menu -> About MUSHclient.
- A copy of the trigger, alias or timer you were using (see Copying XML)
- The output from the MUD that caused the problem
- The error message, if any, that you got (or other relevant output)
[codetag]
[copying]
[faq]
[faq=15]
[function=AddTrigger]
The documentation for the AddTrigger script function is available online. It is also in the MUSHclient help file.
[pasting]
[post=9687]
[quote=Nick Gammon]
Something interesting ...
Note: Close this tag with [/quote]
[regexp]
- Regular expressions (as used in triggers and aliases) are documented on the Regular expression tips forum page.
- Also see how Lua string matching patterns work, as documented on the Lua string.find page.
[saveplugin=ConsiderMobs]
- Copy the code below (in the code box) to the Clipboard
- Open a text editor (such as Notepad) and paste the plugin code into it
- Save to disk on your PC, preferably in your plugins directory, as
ConsiderMobs.xml- The "plugins" directory is usually under the "worlds" directory inside where you installed MUSHclient.
- Go to the MUSHclient File menu -> Plugins
- Click "Add"
- Choose the file
ConsiderMobs.xml(which you just saved in step 3) as a plugin - Click "Close"
- Save your world file, so that the plugin loads next time you open it.
[scripting]
There is extensive information about scripting in MUSHclient at http://mushclient.com/scripting. This includes screen shots and examples.
[search]
[search=stat roller]
[smaugfuss]
The SmaugFUSS reference site is http://www.smaugmuds.org/.
[starting]
There are also some some YouTube videos demonstrating various aspects of MUSHclient in operation.
[summary]
Please provide a summary of your world configuration:
- Either use the scripting Immediate window (Ctrl+I) to execute: Debug ("summary")
or
- Install the Summary plugin (see "Summary" feature) and type "summary"
Then copy the resulting information from the output window, and paste into a Forum message.
You need version 4.55 onwards of MUSHclient to do this.
[tip]
Some sort of hint or tip, intended to be broken out into a separate box.
No extra wording is inserted, to do a heading use something like:
[b]Tip:[/b]
Note: Close this tag with [/tip]
[version]
[what]
- A copy of the trigger, alias or timer you were using (see Copying XML)
- The error message, if any, that you got
Also, the auto-detection of forum codes now detects any sequence of [<something>] as requiring forum codes in your post (previously a few like [i] were not detected). Detected in the "<something>" area are an optional "/", followed by letters (a-z) optionally followed by one or more of: "=", "_", letters or digits (for the tags that take arguments). (eg. [faq=42])
This auto-detection only applies to new posts, not editing existing posts. An existing post that did not previously use forum tags, and which now uses them, needs you to explicitly check the "forum codes" checkbox.
The tags are case-sensitive, and there should be no extra spaces other than what is shown in the examples.
Other forum codes
Also see http://www.gammon.com.au/forum/bbforumcode.php for descriptions about codes for formatting like bold, underline, lists, superscript, subscript, etc.