Script Name:
Public bot control
Version: 3.2
Author: Prince_of_the_net
Script Date: 31/12/2002
Category: Not specified
Downloads: 34
File Name:
botcontrol3.2.zip
Short Description:
Public commands script, used to control a bot from the main channel.
Extended Description File
This is the description file for botcontrol.tcl script.
INSTALLATION
Add this line to your bot config file.
Ideally eggdrop.complete.conf or something before you
load the script.
set logo (($botnick))
source scripts/botcontrol.tcl
Rehash the bot using .rehash or Restart it if you use any
of the older version of this script using .restart.
Then type !help in the channel mains in which the bot in
question monitors.
If your bot replies to you in notice then the script
is working perfectly.
USAGE
This script is able to do a lot of bot management job
from the channel mains.
I would tell you all the commands one by one:
!op - This command can be used in two ways:
!op - Gives you op in the channel the command was typed in.
!op nick - Gives op to the nick you specify in the channel.
!deop - This command is similar to !op & can be used to take
away ops from a user who is currently opped in the channel.
!voice - This command is also similar to !op and gives you,
or the specified user voice (+v) in the channel.
!devoice - This command is also similar to !op & takes voice
from a specified user who is now voiced in the channel.
!ban - This command bans a specified user in the channel.
The different ways in which this command can be used are:
!ban nick - In this case the bot places a default ban of
30 mins & sets the reason to be "Requested by $nick"
where $nick is the user who used the command.
!ban nick reason - In this case the bot places a default ban
of 30 mins and sets the reason to the reason specified
in the command.
!ban nick reason time - In this cases the bot places a ban of
"time" min specified. Setting "time" to 0 will make
the ban permanent. The reason is set to the "reason"
specified in the command.
!ipban - The ban command does not allow you to put ip bans.
This command does that for you. The command can be
used exactly like !ban i.e.
!ipban n!u@ip
!ipban n!u@ip reason
!ipban n!u@ip reason time
!unban - This command helps you to kick someone out of the
party line of the bot even without logging in the bot!
All you have to do is type:
!boot handle - The bot boots "handle" out of the party line
and sets reason to "Requested by $nick" where $nick
is the nick of the person who used the command.
!boot handle reason - The bot boots "handle" out of the
party line and sets reason to "reason".
!mode - Helps to set certain modes on the channel.
Syntax:
!mode +mode-mode
The mode is applied on the channel it was typed in.
!dcclist - Gives you a summary of what is going on the
party line of the bot. The other options are explained
by the bot when you use the command.
!isuser - Tells you if a user is present in the bot userlist.
Syntax:
!isuser nick
!adduser - This command helps to add a new user to the bot's
database. The command can be used in different ways
as shown below:
!adduser nick - The "nick" specified is added to the bot
internal user list with the current hostmask of the
user i.e n!*u@A.B.C.* with no password.
!adduser nick host - The "nick" specified is added to the
bots userlist with the hostmask "host".
!deluser - This command deletes an user from the bots internal
user list. The syntax of the command is:
!deluser nick
!chattr - This changes the user flags for a specified user.
The flags are in the format <global>|<channel>.
The syntax of the command is:
!chattr nick flags
!count - Displays the number of users currently in the bots
user database.
Syntax:
!countusers
!botlist - Returns the bots which are currently linked to
your eggdrop.
Syntax:
!botlist
!save - Saves the user and channel files.
Syntax:
!save
!reload - Reloads the user file discarding any changes since
the last save.