<h3>Table of contents</h3> <UL> <LI><a href="#chap0">Logging tells</a> <LI><a href="#chap1">Easier perl interface</a> </UL> <PRE> This file contains example aliases, macros and actions. Feel free to send the most useful of your in. </PRE><h3><a name="chap0">Logging tells</a></h3><PRE> I use the following few aliases to log tells and other things to a window. First, there is the startlog alias, that starts logging to a file (this has to of course, be on one line) Alias startLog #window -H -w80 -x0 -y3 -h10 -lmud/Log/%n-%1 %1; #print %1 *** %t -- logged in into %n@%h:%p When called (e.g. startLog tells), the file will create a new window, attached to the file mud/Log/ar-tells (if the current MUD you are attached to is called ar). It will also print out a line to that file which looks like this: *** Sun Jan 25 12:00:26 1998 -- logged in into ar@abandoned.org:4444 Then, I do the logging of, for example, tells, which looks like this: action "^(.*) tells you '(.*)'" #print tells %H:%m $1: $2 This will takes lines which contain "tells you" followed by the text in single quotes. </PRE><h3><a name="chap1">Easier perl interface</a></h3><PRE> Alias % #eval %0 will allow you to type things like: %2**20 to find the 20th power of 20, rather than #eval 2**20. Alias ! #eval `%0` will allow you to do e.g. !finger to run the finger command and send its output to the main screen. Note that you don't need space between % nor ! and the command. </PRE>