1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!-- $Id: app-textsub.html,v 1.25 2006-03-27 06:48:58 wcc Exp $ -->
<html>
<head>
<title>Eggdrop Documentation: Textfile Substitutions</title>
</head>
<body>
<div align="center">
<p><strong>Textfile Substitutions</strong></p>
</div>
<hr>
<p>These %-variables can be inserted into help files, the banner, the
MOTD, and other text files.There are four variables that can be used to
format text:</p>
<blockquote>
<dl>
<dt><strong>%b</strong></dt>
<dd>display bold</dd>
<dt><strong>%v</strong></dt>
<dd>display inverse</dd>
<dt><strong>%_</strong></dt>
<dd>display underline</dd>
<dt><strong>%f</strong></dt>
<dd>display flashing via telnet; bold underline via irc</dd>
</dl>
</blockquote>
<p>These variables will be interpreted by Eggdrop and replaced by their
respective values:</p>
<blockquote>
<dl>
<dt><strong>%B</strong></dt>
<dd>bot's nickname (i.e. "LamestBot")</dd>
<dt><strong>%V</strong></dt>
<dd>current Eggdrop version (i.e. "eggdrop v1.6.18")</dd>
<dt><strong>%E</strong></dt>
<dd>long form of %V (i.e. "Eggdrop v1.6.18 (C) 1997 Robey Pointer
(C) 2006 Eggheads Development Team")</dd>
<dt><strong>%C</strong></dt>
<dd>channels the bot is on (i.e. "#lamest,
#botnetcentral")</dd>
<dt><strong>%A</strong></dt>
<dd>whatever is set in the config file by 'set admin'</dd>
<dt><strong>%n</strong></dt>
<dd>whatever is set in the config file by 'set network'</dd>
<dt><strong>%T</strong></dt>
<dd>the current time (i.e. "15:00")</dd>
<dt><strong>%N</strong></dt>
<dd>the current user's nickname (i.e. "Robey")</dd>
<dt><strong>%U</strong></dt>
<dd>the current operating system the bot is on</dd>
<dt><strong>%%</strong></dt>
<dd>a percent sign ("%")</dd>
</dl>
</blockquote>
<p>You can also encode messages which can only be read by people with
certain flags:</p>
<blockquote>
<dl>
<dt><strong>%{+m}some text%{-}</strong></dt>
<dd>Only masters would see this.</dd>
<dt><strong>%{+A}some text%{-}</strong></dt>
<dd>Only people with the user flag +A see this.</dd>
<dt><strong>%{+b}some text%{-}</strong></dt>
<dd>This is only displayed to users doing a remote '.motd'
from another bot.</dd>
<dt><strong>%{+|m}some text%{-}</strong></dt>
<dd>Only channel masters would see this.</dd>
</dl>
</blockquote>
<p>Other variables:</p>
<blockquote>
<dl>
<dt><strong>%{cols=N}</strong></dt>
<dd>start splitting output into N columns</dd>
<dt><strong>%{cols=N/W}</strong></dt>
<dd>same as above, but use a screen width of W</dd>
<dt><strong>%{end}</strong></dt>
<dd>end columnated or restricted (%{+m}) block</dd>
<dt><strong>%{center}</strong></dt>
<dd>center the following text (70 columns)</dd>
</dl>
</blockquote>
<hr>
<p><em>Copyright © 1997 Robey Pointer<br>
Copyright © 1999 - 2006 Eggheads Development Team
<a href="http://www.eggheads.org/"> Eggheads Development Team</a></em></p>
</body>
</html>
|