File: app-textsub.html

package info (click to toggle)
eggdrop 1.6.18-1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 5,248 kB
  • ctags: 5,135
  • sloc: ansic: 55,311; sh: 4,101; tcl: 2,423; makefile: 1,505
file content (139 lines) | stat: -rw-r--r-- 3,550 bytes parent folder | download | duplicates (2)
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&#39;s nickname (i.e. &quot;LamestBot&quot;)</dd>

        <dt><strong>%V</strong></dt>

        <dd>current Eggdrop version (i.e. &quot;eggdrop v1.6.18&quot;)</dd>

        <dt><strong>%E</strong></dt>

        <dd>long form of %V (i.e. &quot;Eggdrop v1.6.18 (C) 1997 Robey Pointer
        (C) 2006 Eggheads Development Team&quot;)</dd>

        <dt><strong>%C</strong></dt>

        <dd>channels the bot is on (i.e. &quot;#lamest,
        #botnetcentral&quot;)</dd>

        <dt><strong>%A</strong></dt>

        <dd>whatever is set in the config file by &#39;set admin&#39;</dd>

        <dt><strong>%n</strong></dt>

        <dd>whatever is set in the config file by &#39;set network&#39;</dd>

        <dt><strong>%T</strong></dt>

        <dd>the current time (i.e. &quot;15:00&quot;)</dd>

        <dt><strong>%N</strong></dt>

        <dd>the current user&#39;s nickname (i.e. &quot;Robey&quot;)</dd>

        <dt><strong>%U</strong></dt>

        <dd>the current operating system the bot is on</dd>

        <dt><strong>%%</strong></dt>

        <dd>a percent sign (&quot;%&quot;)</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 &#39;.motd&#39;
        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 &copy; 1997 Robey Pointer<br>
    Copyright &copy; 1999 - 2006 Eggheads Development Team
    <a href="http://www.eggheads.org/"> Eggheads Development Team</a></em></p>
  </body>
</html>