Textfile substitutions


There are some special variables that can be added to the motd, banner and help files that will be interpreted by eggdrop:

%b
display bold
%v
display inverse
%_
display underline
%f
display flashing via telnet, bold underline via irc
%B
bot's nickname ("LamestBot")
%V
current eggdrop version ("eggdrop v1.6.0")
%E
long form of %V ("Eggdrop v1.6.0 (c)1997 Robey Pointer (c)1999, 2000 Eggheads")
%C
channels the bot is on ("#lamest, #botnetcentral")
%A
whatever is set in 'admin' (see 'set admin')
%T
the current time ("15:00")
%N
the current user's nickname ("Robey")
%U
the current operating system the bot is on
%%
a literal percent sign ("%")

You can also encode messages which can only be read by people with certain flags:

%{+m}some text%{-}
Only masters would see this.
%{+1}some text%{-}
Only people with user flag #1 see this.
%{+b}some text%{-}
This is only displayed to users doing a remote '.motd' from another bot.
%{+|m}some text%{-}
Only channel masters would see this.

Other extended % commands are:

%{cols=N}
start splitting output into N columns
%{cols=N/W}
same, but use a screen width of W
%{end}
end columnated or restricted (%{+m}) block
%{center}
center the following text (70 columns)

© 1997 Robey Pointer
© 1999,2000 Eggheads