I'm working on this section, but i figured i'd better write some of the important stuff down.
- Remember that certain characters have special meaning when writing Regular Expression triggers. Pay special
attention to the following characters: .+*?()\[]
All special characters can be escaped by adding a '\' (backslash) before the character. Here is an example:
the pattern 'BotOn?' would be written as 'BotOn\?'
- See the white box in the bottom of the screen? It expands over multiple lines. This is because you can type
more than once line and send them all at once. Once you press Enter, everything is sent, but if you press Ctrl+Enter
you insert a new line to write on. You can change between the lines with arrow up and arrow down.
- Remember that you got full power with MonkteyTerm, that also means that you can do some wierd stuff. It's easy
to make a looping trigger or alias, but it's also very easy not to - as long as you know how to control it.
If you make an alias called 'recall' and you then put the action 'recall' in the commands list, well then you won't
send the command 'recall' to the mud, instead MT will parse 'recall' and see it as the aliases itself, thus looping
endlessly :)
- When to use %1, $1 or £1? Well there is an easy way to remember what to use. When you need to send the result
to the mud you always use %1. When you need to send the result to a script you use $1 or £1. $1 is whatever match
you got, this match could contain a script tag or a newline character - that's not nessisarily bad, but if you are
executing the result of an action someone might be able to abuse it (This only happens if you actually make an
action, where you use the result of the match as your own command) It should be obvious, if you automaticly do what
it says on the screen you can get hurt, but since some people either like to do so :) or they don't think about it, we added
the £1 variable kind instead, it should be safe from excuting scripts or chaining commands. That means, if you do not know
what you are doing, you might want to change your %1 to £1 :) If you do know what you are doing, good for you :)
Easy right? Well if you're not much of a scripter you'll probably only use %1 or £1 - that's cool, but that also means you're not taking full
advantage of this client.