[project @ 2003-04-04 02:43:18 by unknown_lamer]
authorunknown_lamer <unknown>
Fri, 4 Apr 2003 02:43:18 +0000 (02:43 +0000)
committerunknown_lamer <unknown>
Fri, 4 Apr 2003 02:43:18 +0000 (02:43 +0000)
Replaced the old example bot with a new one that uses some of the new
features of Bobot++

examples/bot.autoexec [deleted file]
examples/bot.conf [deleted file]
examples/bot.help [deleted file]
examples/bot.init [deleted file]
examples/bot.log [deleted file]
examples/bot.shit [deleted file]
examples/bot.users [deleted file]
examples/scripts.load [new file with mode: 0644]

diff --git a/examples/bot.autoexec b/examples/bot.autoexec
deleted file mode 100644 (file)
index 75e344b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-(load "scripts/uptime")
-(load "scripts/boulet")
diff --git a/examples/bot.conf b/examples/bot.conf
deleted file mode 100644 (file)
index 2f2b36d..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-# Sample configuration file for Bobot++
-# Copyright (c) 1997 Etienne BERNARD
-
-# Nickname of the bot
-# nick = <string>
-nick = Bobot
-
-# Username of the bot (remember : nick!username@hostname)
-# username = <string>
-username = bobot
-
-# IRCname of the bot (shown with /whois)
-# ircname = <string>
-ircname = I'm a misconfigured bobot++
-
-# Command char of the bot
-# cmdchar = <char>
-cmdchar = !
-
-# Filename for the bot's userlist
-# userlist = <filename>
-userlist = bot.users
-
-# Filename for the bot's shitlist
-# shitlist = <filename>
-shitlist = bot.shit
-
-# Log file
-# logfile = <filename> (you can put /dev/null if you don't want logs)
-logfile = bot.log
-
-# Server
-# server = <name> [<port> [<password>]]
-server = irc.change.me.net
-
-# Channels for the bot
-# channel = <channelname>:<initial modes>:<modes to keep>:<channel key>
-# Example:
-# channel = #one:nt:::
-# channel = &two:nst:nst:
-# channel = #three:nstk key:nstk:key
-# etc...
-channel = #bobot:nt::
diff --git a/examples/bot.help b/examples/bot.help
deleted file mode 100644 (file)
index cd66324..0000000
+++ /dev/null
@@ -1,182 +0,0 @@
-:ACTION [\ 2<channel>\ 2\ 2<message>\ 2
-Makes the bot do an action on \ 2<channel>\ 2.
-
-:ADDUSER \ 2<nick>\ 2|\ 2<mask>\ 2 \ 2<channelMask>\ 2 \ 2<level>\ 2 \ 2<prot>\ 2 \ 2<autoop>\ 2
-Adds an user to the userlist, for a nick!user@host matching the
-one given, on a channel matching the \ 2<channelMask>\ 2 given.
-The \ 2<level>\ 2 can be: | The \ 2<prot>\ 2 can be:  | The \ 2<autoop>\ 2 can be: 
-  0 - No level      |   0 - No protection |  0 - No auto-op
-  1 - User          |   1 - No ban        |  1 - Op on join
-  2 - Trusted User  |   2 - No kick       |
-  3 - Friend        |   3 - No deop       |
-  4 - Master        |                     |
-
-:ADDSERVER \ 2<host name>\ 2|\ 2<ip address>\ 2 [\ 2<port number>\ 2]
-Adds the server specified by \ 2<host name>\ 2 or \ 2<ip address>\ 2 to
-the server list.
-
-:ADDSHIT \ 2<nick>\ 2|\ 2<mask>\ 2 \ 2<channelMask>\ 2 \ 2<level>\ 2 \ 2<time>\ 2 [\ 2<reason>\ 2]
-Adds an user to the shitlist, for a nick!user@host matching the
-one given, on a channel matching the \ 2<channelMask>\ 2 given.
-The \ 2<level>\ 2 can be:
-  0 - No shit
-  1 - No op
-  2 - Kick and Ban on join
-  3 - Kick and Ban on join, no deban
-
-:ALIAS \ 2<new name>\ 2 \ 2<old name>\ 2
-Makes an alias, and adds the function \ 2<new name>\ 2, that will do
-exactly the same command as \ 2<old name>\ 2. Useful for lazy people :-)
-
-:BAN [\ 2<channel>\ 2\ 2<mask>\ 2|\ 2<nick>\ 2
-Bans \ 2<mask>\ 2 or \ 2<nick>\ 2 from \ 2<channel>\ 2. You need to be a trusted
-user to ban with a \ 2<mask>\ 2.
-
-:CHANGELEVEL \ 2<nick>\ 2|\ 2<mask>\ 2 \ 2<channel mask>\ 2 \ 2<new level>\ 2
-Gives \ 2<nick>\ 2 or \ 2<mask>\ 2 level \ 2<new level>\ 2 on channel(s)
-\ 2<channel mask>\ 2. Note that you can not change level for someone
-whose level is greater than yours, and that you can not give a
-level greater than yours.
-
-:CHANNELS
-Prints the channel(s) where the bot is currently.
-
-:CYCLE [\ 2<channel>\ 2]
-Makes the bot leave and join \ 2<channel>\ 2.
-
-:DCCLIST
-Gives the list of all DCC Chat connections.
-
-:DEBAN [\ 2<channel>\ 2\ 2<mask>\ 2|\ 2<nick>\ 2
-Debans \ 2<mask>\ 2 or \ 2<nick>\ 2 from \ 2<channel>\ 2. You need to be a trusted
-user to deban with a \ 2<mask>\ 2.
-
-:DELSERVER \ 2<server number>\ 2
-Deletes server from server list whose number in the server list
-is \ 2<server number>\ 2
-
-:DELUSER \ 2<nick>\ 2|\ 2<mask>\ 2 \ 2<channelMask>\ 2
-Removes \ 2<nick>\ 2 or \ 2<mask>\ 2 from the userlist.
-
-:DELSHIT \ 2<nick>\ 2|\ 2<mask>\ 2 \ 2<channelMask>\ 2
-Removes \ 2<nick>\ 2 or \ 2<mask>\ 2 from the shitlist.
-
-:DEOP [\ 2<channel>\ 2\ 2<mask>\ 2|\ 2<nick>\ 2
-Deops \ 2<mask>\ 2 or \ 2<nick>\ 2 on \ 2<channel>\ 2.
-
-:DIE [\ 2<reason>\ 2]
-Makes the bot stop immediately.
-
-:HELP [\ 2<topic>\ 2]
-Prints this help, or prints help about \ 2<topic>\ 2 if supplied.
-See the topics available for you with "HELP" without arguments.
-
-:IDENT \ 2<channel>\ 2 \ 2<password>\ 2
-Identifies you on the bot. Note that you should not use this
-command in public...
-
-:INVITE [\ 2<channel>\ 2\ 2<nick>\ 2
-Invites \ 2<nick>\ 2 on \ 2<channel>\ 2.
-
-:JOIN \ 2<channel>\ 2
-Makes the bot join \ 2<channel>\ 2.
-
-:KEEP [\ 2<channel>\ 2\ 2<modes>\ 2
-Sets the \ 2<modes> \ 2 that the bot will keep for \ 2<channel>\ 2.
-See also STATS.
-
-:KICK [\ 2<channel>\ 2\ 2<mask>\ 2|\ 2<nick>\ 2 [\ 2<reason>\ 2]
-Kicks \ 2<mask>\ 2 or \ 2<nick>\ 2 out of \ 2<channel>\ 2, because of \ 2<reason>\ 2.
-You need to be a trusted user to use a \ 2<mask>\ 2.
-
-:KICKBAN [\ 2<channel>\ 2\ 2<mask>\ 2|\ 2<nick>\ 2 [\ 2<reason>\ 2]
-Bans then kicks \ 2<mask>\ 2 or \ 2<nick>\ 2 out of \ 2<channel>\ 2,
-because of \ 2<reason>\ 2.
-You need to be a trusted user to use a \ 2<mask>\ 2.
-
-:LOAD
-Reloads the userlist from disk.
-
-:LOCK [\ 2<channel>\ 2]
-Locks topic on \ 2<channel>\ 2.
-
-:MODE [\ 2<channel>\ 2\ 2<mode string>\ 2
-Sends \ 2<mode string>\ 2 as mode for \ 2<channel>\ 2.
-
-:NAMES [\ 2<channel>\ 2]
-Shows the nicknames and status of users on \ 2<channel>\ 2.
-
-:NEXTSERVER
-Makes the bot connect to the next server in its server list.
-
-:NICK \ 2<nick>\ 2
-Makes the bot use nickname \ 2<nick>\ 2.
-
-:NSLOOKUP \ 2<nick>\ 2|\ 2<host>\ 2|\ 2<ip address>\ 2
-Does a nameserver query about \ 2<nick>\ 2's host, \ 2<host>\ 2 or
-\ 2<ip address>\ 2.
-
-:OP [\ 2<channel>\ 2\ 2<nick>\ 2
-Ops \ 2<nick>\ 2 on \ 2<channel>\ 2.
-
-:PART [\ 2<channel>\ 2]
-Makes the bot leave \ 2<channel>\ 2.
-
-:PASSWORD \ 2<password>\ 2
-Changes your password on the bot. Use "NONE" as password
-if you want to clear it.
-Do not use this command in public!
-
-:RECONNECT
-Makes the bot reconnect to its current server.
-
-:RSPYMESSAGE
-Removes you from the spy list.
-
-:SAVE
-Saves the userlist.
-
-:SAY [\ 2<channel>\ 2\ 2<message>\ 2
-Makes the bot say \ 2<message>\ 2 on \ 2<channel>\ 2.
-
-:SERVER \ 2<server number>\ 2
-Select the server to connect to. \ 2<server number>\ 2 is the number of
-the server in the serverlist.
-
-:SERVERLIST
-Shows the bot's serverlist.
-
-:SHITLIST
-Shows the bot's shitlist.
-
-:SPYLIST
-Shows the bot's spylist.
-
-:SPYMESSAGE
-Adds you to the spylist
-
-:STATS [\ 2<channel>\ 2]
-Gives \ 2<channel>\ 2's statistics.
-
-:TBAN [\ 2<channel>\ 2\ 2<nick>\ 2|\ 2<mask>\ 2 \ 2<time>\ 2
-Bans \ 2<nick>\ 2 or \ 2<mask>\ 2 from \ 2<channel>\ 2 for \ 2<time>\ 2 seconds.
-
-:TKBAN [\ 2<channel>\ 2\ 2<nick>\ 2|\ 2<mask>\ 2 \ 2<time>\ 2 [\ 2<reason>\ 2]
-Bans \ 2<nick>\ 2 or \ 2<mask>\ 2 from \ 2<channel>\ 2 for \ 2<time>\ 2 seconds,
-then kicks him/them because of \ 2<reason>\ 2.
-
-:TOPIC [\ 2<channel>\ 2] [\ 2<topic>\ 2]
-If no \ 2<topic>\ 2 is given, prints \ 2<channel>\ 2's topic. Otherwise,
-the bot will change \ 2<channel>\ 2's topic to \ 2<topic>\ 2.
-
-:UNLOCK [\ 2<channel>\ 2]
-Makes the bot unlock topic on \ 2<channel>\ 2.
-
-:USERLIST
-Shows the bot's userlist.
-
-:WHO [\ 2<channel>\ 2]
-Show your level on \ 2<channel>\ 2.
-
-:WHOIS [\ 2<channel>\ 2\ 2<nick>\ 2
-Shows information about \ 2<nick>\ 2 on \ 2<channel>\ 2.
diff --git a/examples/bot.init b/examples/bot.init
deleted file mode 100644 (file)
index b98b4b6..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-t topic
-k kick
-w who
-wi whois
-nsl nslookup
-b ban
-tb tban
-db deban
-kb kickban
-bkick kickban
-tkb tkban
-me op
-o op
-do deop
-leave part
-l part
diff --git a/examples/bot.log b/examples/bot.log
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/examples/bot.shit b/examples/bot.shit
deleted file mode 100644 (file)
index 4d53866..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*!?root@*:*:2:-1:*Never* make IRC as root !
diff --git a/examples/bot.users b/examples/bot.users
deleted file mode 100644 (file)
index 36b2a26..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*!*me@*.mydomain.com:#*:4:1:0:-1:*NONE*
diff --git a/examples/scripts.load b/examples/scripts.load
new file mode 100644 (file)
index 0000000..2b943f2
--- /dev/null
@@ -0,0 +1,6 @@
+(country)
+(hello)
+(tamere)
+(uname)
+(uptime)
+(log)
\ No newline at end of file