| View previous topic :: View next topic |
| Author |
Message |
Stich Guest
|
Posted: Sat Mar 06, 2004 5:07 pm Post subject: Addme.tcl |
|
|
I installed addme.tcl
Everything is fine
but i have a problem he said so
[21:57] Tcl error [addme_nick]: can't read "addme_number(#xxxonline!)": no such element in array
I need really help
and this line in the cfg script i dont understand
Note that adding channels here will not make the bot join them,
you'll need to add them in your eggdrop.conf
here is my tcl script
########################################################
#
# Add Me ! - v 2.0 - April, 2003
# Organise pickup games on IRC with ease (and your eggdrop)
#
# Please read README.TXT for more info & manual
#
# Contact stuff :
# Ozh, ozh@planetquake, #SARL on irc.quakenet.org
#
########################################################
########################################################
#
# QUICK README that will save me about 70% of queries :
#
# - THIS IS NOT a script for MIRC. It's intented to run
# on eggdrop (or windrop). http://www.egghelp.org for more
# info.
#
# - I CANT GIVE YOU AN EGGDROP nor lend mine. You'll
# have to have someone lend or rent you a shell. Same
# site as above for infos.
#
# - Please read the README.TXT file provided with the
# script, or get the original version of this script
# here : http://www.egghelp.org/tcl.shtml and look for
# 'ozh' in the search field
#
########################################################
################# C U S T O M I Z E ####################
#
# READ CAREFULLY :
# Here come a few sections where you configure things
#
# As an example, the script is provided with a two channel
# example configuration, #pickup1 and #pickup2.
# Each variable has also a recommended value, for those
# who are not sure what to do.
#
# For each section except very first one, you'll need as many
# variables as pickup channels.
# For example, if your bot sits in #pickup1 and #pickup2,
# each variable configured will look like :
# addme_somevar(#pickup1) and addme_somevar(#pickup2)
# Understood ? *Each* variable is set for *each* channel
#
# Note for TCL beginners : to declare $myvar, the correct syntax is :
# set myvar "string" <-- when string, use quotes
# set myvar 99 <-- when number, use nothing
#
# Ok then, GL & HF
#
########################################################
# CHANNELS MONITORED
# Channels where the bot manages topics, separated by a space
# For example :
# set addme_channels "#lame"
# set addme_channels "#lame #lamer #lamest"
#
# Note that adding channels here will not make the bot join them,
# you'll need to add them in your eggdrop.conf
#
# !!! Put channels in lowercase !!! So it wont mess between #MyPickup and #mypickup
# Same thing in your main eggdrop.conf file : use lowercase for channel names.
#
set addme_channels "#xxx-online! #cs-xxx"
# Note : from now on, *each* var is set for *each* channel from line above
# GREET ON JOIN
# Do you want the bot to welcome everyone on join ? (welcome & help message)
# 0 means no welcome message, 1 means welcome message
# Suggested : 1 if your channel is new and your bot not too busy, 0 if not or
# if you can have another bot or service (X, Q, L etc...) welcome users on join
# Remember, one var per channel
# Here again, and everywhere else, channels in lowercase !!
#
set addme_welcomemsg(#pickup1) 1
set addme_welcomemsg(#pickup2) 0
# WEB PAGE
# Web pages where the channel rules are explained, when someone asks
# the bot for help
#
set addme_rules(#pickup1) "http://www.myl33tclan.com/pickup.php"
set addme_rules(#pickup2) "http://come.to/pickup2/"
# TOPIC LIST LENGTH
# Number of players wanted for a game, set for each channel (8 for 4v4, 10 for euro
# Q3CTF etc...)
# For example : set addme_number(#mypickup) 6 if you need 6 players to start a game
# Can be any number from 1 (silly) to any number (messy)
#
set addme_number(#pickup1) 10
set addme_number(#pickup2) 6
# MAP PICKING
# How many maps do you want to be picked from maplist (if any) ?
# 0 means "dont pay attention to maplist, if any", N means "pick N maps from maplist"
# This can be used to prevent players from playing always the same 2 or 3 maps, and
# "forcing" them to chose from a short list (2 or even 1 map)
set addme_pickNmaps(#pickup1) 0
set addme_pickNmaps(#pickup2) 0
# MAP ANNOUNCING
# Do you want random map to be announced in advance ?
# If so, player can check what map is next with !nextmap
# If not, random maps (if any) are revealed only once topic is full and game ready to go.
# 0 means "dont announce in advance", 1 means "announce when asked with !nextmap"
# If activated and if the above rule is enforced, people can still decide to add or not,
# depending on wether they like or dislike the map selection
#
set addme_announcemaps(#pickup1) 0
set addme_announcemaps(#pickup2) 0
# CAPTAIN PICKING
# Do you want to pick 2 players (eg team captains) when topic is full ?
# 0 means "pick no one", 1 means "pick 2 players"
#
set addme_pick2players(#pickup1) 0
set addme_pick2players(#pickup2) 0
# AUTOREMOVEALL MODE
# You have two ways of life :
# 1) Once topic is full, the bot announces game starting, and clears topic, so that other players
# can !add asap
# 2) Once topic is full, the bot announces the game, but topic remains unchanged till someone authorized
# calls "!removeall". In this mode, as long as topic is full, you can !recall players, which will make
# the bot privmsg players in topic again (usefull if you often get late joiners idling on irc)
# Mode 1 (autoremoveall) means you need a bit of discipline in your channel, since you cant use the
# !recall trigger, but games can start faster on populated channels with a bit of discipline
# (autoremoveall mode is Echbot's default style on Quakenet)
# 0 means "dont auto removeall", 1 means "removeall automatically once topic is full"
#
set addme_autoremoveall(#pickup1) 1
set addme_autoremoveall(#pickup2) 1
# SERVER SWITCH
# When enabled, topic will auto cycle through servers, so that when a topic is completed, a new
# game can start asap on another server. Use this if you have at least *2* servers dedicated to pickups,
# 3 servers might be the minimum on populated & active pickup channels
# If not, server will have to be "hand picked" (put a new one manually, if needed, with !server command)
# Suggested : 0 unless you have a few dedicated servers
#
set addme_serverswitch(#pickup1) 1
set addme_serverswitch(#pickup2) 1
# PROMOTE : RESTRICTION TO ADDED PLAYERS
# !promote displays in a channel notice how many players are still required to have a game starting.
# You can limit this command to people added in topic, to prevent from annoying people not even playing
# to abuse it (if restricted, ops will still be able to use it, no matter if they are in topic or not)
# Suggested : 1
#
set addme_promote_added(#pickup1) 1
set addme_promote_added(#pickup2) 1
# PROMOTE : MINIMUM PLAYERS
# You can also set a minimum limit. XX means "under XX players in topic, !promote will be disabled"
# Be sure to set this limit under your number of needed players
# Set to 0 if you dont wish to use this feature (i.e. allow !promote even when topic is empty)
# Suggested : half of your needed players
#
set addme_promote_mini(#pickup1) 8
set addme_promote_mini(#pickup2) 4
# PUBLIC / OPS PRIVILEGES : !removeall
# Do you want the "!removeall" command to be available to ops only ?
# 1 means "needs to be op", 0 means "anyone can do it"
# Suggested : 1 if you use autoremoveall mode
# Suggested : 0 otherwise, unless you are very sure you *always* have active ops in your channel
#
set addme_removeallop(#pickup1) 1
set addme_removeallop(#pickup2) 1
# PUBLIC / OPS PRIVILEGES : !add someone
# Do you want the "!add <name>" command to be available to ops only ?
# 1 means "needs to be op", 0 means "anyone can do it"
# Suggested : 1, so users wont add friends who may not be there when game starts
#
set addme_addop(#pickup1) 0
set addme_addop(#pickup2) 0
# PUBLIC / OPS PRIVILEGES : !remove someone
# Do you want !remove <name> command to be available to ops only ?
# 1 means "needs to be op", 0 means "anyone can do it"
# Suggested : 1
#
set addme_removeop(#pickup1) 1
set addme_removeop(#pickup2) 1
# PUBLIC / OPS PRIVILEGES : !server
# Do you want "!server <server ip>" command to be available to ops only ?
# 1 means "needs to be op", 0 means "anyone can do it"
# Suggested : 1 if you have dedicated servers and use serverswitch, 0 otherwise
#
set addme_serverop(#pickup1) 0
set addme_serverop(#pickup2) 0
# PUBLIC / OPS PRIVILEGES : !motd
# Do you want !motd <motd> command to be available to ops only ?
# 1 means "needs to be op", 0 means "anyone can do it"
# Suggested : 1
#
set addme_motdop(#pickup1) 0
set addme_motdop(#pickup2) 0
####################################################################
Thnx for help |
|
| Back to top |
|
 |
strikelight Owner

Joined: 07 Oct 2002 Posts: 708
|
Posted: Sat Mar 06, 2004 6:59 pm Post subject: |
|
|
The author states in his directions, that for all the variable settings
where you see #pickup1 or #pickup2 , you need to change #pickup1/#pickup2 to your OWN channels that you wish to use the script on. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|