<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/7009" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-03-06T18:59:46-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/7009</id>

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-03-06T18:59:46-04:00</updated>

		<published>2004-03-06T18:59:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34312#p34312</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34312#p34312"/>
		<title type="html"><![CDATA[Addme.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34312#p34312"><![CDATA[
The author states in his directions, that for all the variable settings<br>where you see #pickup1 or #pickup2 , you need to change #pickup1/#pickup2 to your OWN channels that you wish to use the script on.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat Mar 06, 2004 6:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-06T17:07:48-04:00</updated>

		<published>2004-03-06T17:07:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34310#p34310</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34310#p34310"/>
		<title type="html"><![CDATA[Addme.tcl]]></title>

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