~ctrlproxy/ctrlproxy/trunk

« back to all changes in this revision

Viewing changes to doc/auto-away.mod.xml

  • Committer: jelmer
  • Date: 2003-10-18 22:02:02 UTC
  • Revision ID: jelmer@samba.org-20031018220202-6801a76318fb4d13
Update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<ctrlproxy:module name="auto-away"
 
2
        xmlns:ctrlproxy="http://ctrlproxy.vernstok.nl/common">
 
3
        <modulemeta>
 
4
                <description>Automagic away</description>
 
5
                <version>0.1</version>
 
6
                <author>Jelmer Vernooij</author>
 
7
                <homepage>http://jelmer.vernstok.nl/ctrlproxy/</homepage>
 
8
        </modulemeta>
 
9
 
 
10
        <description>
 
11
                <para>This module sets your IRC status to 'away' after 
 
12
                you have been inactive('idle') for a certain period of 
 
13
                time.</para>
 
14
        </description>
 
15
 
 
16
        <configuration>
 
17
                <element name="message">
 
18
                        <description>Message to set AWAY mode to when idle for too long.</description>
 
19
                        <attribute name="time">
 
20
                                <description>Number of seconds you have to be idle before setting AWAY.</description>
 
21
                        </attribute>
 
22
                </element>
 
23
        </configuration>
 
24
 
 
25
        <example>
 
26
                <![CDATA[
 
27
                <ctrlproxy>
 
28
                        <plugins>
 
29
                                <plugin autoload="1" file="auto-away">
 
30
                                        <message time="600">I've been idle for 10 minutes, so I'm probably away. Please leave me a message. Thanks!</message>
 
31
                                </plugin>
 
32
                                <plugin autoload="1" file="socket"/>
 
33
                        </plugins>
 
34
 
 
35
                        <networks>
 
36
                                <network name="OFTC">
 
37
                                        <servers><ipv4 host="irc.oftc.net"/></servers>
 
38
                                        <channel name="#flood.nl" autojoin="1"/>
 
39
                                </network>
 
40
                        </networks>
 
41
                </ctrlproxy>
 
42
        ]]>
 
43
        </example>
 
44
</ctrlproxy:module>