about | map | home

search

How to code, modify or add new features in a&a light script

############ botnick.conf ############################

botnet-nick		   - the nick the BOT will use on botnet

username		   - the username the BOT will use on IRC

nick			   - the nick the BOT will use on IRC

altnick			   - the alternate nick which the BOT will use on IRC if the nick is 
			     unavailable

realname		   - what should be displayed in the real-name field for the BOT 
			     on IRC

chanserv(user)		   - BOT's user for X, Q, L, chanserv, etc etc

chanserv(pass)		   - BOT's pass for X, Q, L, chanserv, etc etc

listen			   - the telnet port by which users & other bots can interact 	
			     with the BOT

my-ip			   - If you want to specify the ip, delete the pound sign '#' 	
			     before the line 'set my-ip 0.0.0.0'

network			   - network can be set in 2 ways: for every BOT apart in
			     botnick.conf OR for all bots in eggdrop.conf.

############ settings.conf ###########################

owner			   - BOT's permanent owners, if you specify 2+ owner, use the 	
			     comma. (set owner "niqu, uf"). Specify your BOT user, not 	
			     your nick ON IRC.

			     Attention! the command 'promote' will be available only to 
			     users specified in this variable (see INSTALL).

admin			   - BOT's admin. This info will be displayed in botnet when smb 
			     will use .botinfo or other commands of this type.

settings(suppchan)	   - BOT's support channel. Besides, this channel will serve as a 
			     reference for different commands & info.

settings(homechan)	   - BOT's console. 1st the BOT will enter this chan. Besides, on 
			     this chan will be reported all bans, kicks & any type of
			     abuse. Pay attention this is also a static chan, the BOT
			     will NOT purge/cycle this chan.
    
settings(homepage)	   - Web page support with info about BOT or your services.


set settings(away)	   - If you want the BOT to set away on it connects on IRC. 	
			     Otherwise specify "".
    
settings(server_modes)	   - BOT's server modes on IRC.

settings(report)	   - If you want the BOT to report on console all the abuses 	
			     (ban, kick, deop, etc etc). 0 to disable.

settings(paranoia)	   - When users with global access log on BOT - they MUST have op 
			     or voice status on console. Otherwise, the BOT will ignore 
			     the login command (even if the pass is correct). This will 
			     prevent anybody to use a global user's pass accidentally 	
			     (the pass was stolen or too weak). 0 to disable.

settings(counterspy)	   - If you want the BOT to change the nick randomly when 	
			     connecting to IRC & to take its nick back when it's logged 
			     on X. In order to prevent the users to find out the BOT's 	
			     real ip. 0 to disable. 

settings(lonely)	   - If you want one BOT per chan only. If other BOT join the 	
			     chan the 1st one will purge the chan. The bots recognise 	
			     each other by host, so don't forget to add them to each 	
			     other with the command '!addbot'. If the channel is set 	
			     +locked, the BOT will NOT purge the chan. The console is set 
			     +locked by default.
			  
settings(tcl_error_warn)   - If you want to receive a note from BOT when a script error
			     occurs. 0 to disable.

settings(strict_reason)	   - When a global user does purge, templeave or suspend - he 
			     must use defined strict reasons or not ? Defined strict
			     reasons are: flood-deop, flood-kick, flood-ban, flood-chan, 
			     flood-bot, no-op, no-access, no-ppl, no-need, take, invite, 
			     key, limit, abuse, banned, opless, blacklist, other

settings(max_chans)        - The maximum number of channels the BOT can join.
  
settings(flags_default)    - Default flags given by BOT, when a user is added to BOT's
			     user list (the commands !chattr or !adduser).

settings(cmdpfix)          - BOT's command prefixes. Example: !op .op `op. In this case
			     they are "! . `".

set settings(cmd_me)       - The text from /me or /ame to parse like chan commands ?

settings(user_max_length)  - How many characters can have a user from BOT's user list.
 
			     Attention! this setting cannot bypass the HANDLEN & 
			     NICKMAX settings from /src/eggdrop.h. So, before compiling
			     the BOT change these settings. 
			      
############ stats module

settings(auto_clean_users) - The period of time in days after which the BOT should 
			     erase an user from its user list, if the user was not seen
			     by the BOT on its channels. Global users +voN & local +N 
			     will not be erased. 0 to disable.

settings(auto_clean_chans) - The period of time in days, after which the BOT should 
			     erase the stats for purged channels. 0 to disable.

settings(chan_min_users)   - Minimum channel's user average, if the average is less - 
			      the BOT will purge the chan. 0 to disable.

settings(chan_min_userss)  - Minimum number of ppl on chan which the BOT will consider
			     abusive. On command '!channels abuse' - all the channels
			     which have less ppl will be shown in red colour.

############ Flood settings

settings(flood)		   - to disable/enable user-chan antiflood.

flood(user)		   - how many commands are allowed per user with no access in 30
			     seconds ? if more - the user is placed in ignore

flood(user,local)	   - how many commands are allowed per user with local access in
			     30 seconds? if more - the user is placed in ignore

flood(user,global)	   - how many commands are allowed per user with global access
			     in 30 seconds? if more - the user is placed in ignore

flood(channel)		   - how many commands are allowed per chan in 10 seconds ? if
			     more - the bot will ignore the command

flood(topic)		   - if topic locked, hot many topic changes in 60 seconds are
			     not considered as topic flood ? if more - the user is 
			     banned

flood(modes)		   - how many chan mode changes in 60 seconds are not considered
			     as modes flood (except voice/op/ban) ? if more - the user
			     is banned
			      
############ Files settings

store-path		   -

userfile		   -

chanfile		   -

notefile		   -

infofile		   -

############ xserv module

############ noserv module

############ botnet module

botnet(master)		   -
botnet(flag)		   -
botnet(prefix)		   -
botnet(key)		   -
botnet(logging)		   -
botnet(level)		   -

############ log module

log(routines)		   -
log(chanserv)		   -
log(botnet)		   -
log(events)		   -
log(actions)		   -
log(abuse)		   -
log(high)		   -
log(cmd)		   -
log(low)		   -
log(cmds)		   -

############ Misc settings ###########################

settings(compage)	   - Web page support with info about BOT's commands, this page 
			     will be displayed when smb will use '!help' or '!usage' 	
			     commands.