<?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/9074" />

	<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>2005-01-30T22:56:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-01-30T22:56:28-04:00</updated>

		<published>2005-01-30T22:56:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45995#p45995</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45995#p45995"/>
		<title type="html"><![CDATA[Match Finder Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45995#p45995"><![CDATA[
Something like this, not the exact thing, but very similar to what you want. There might be a bug or two in it, because it was written in less than 5 minutes, so give it a run and debug.<br><div class="codebox"><p>Code: </p><pre><code>bind pub - "!addteam1" add:team1bind pub - "!addteam2" add:team2bind pub - "!match" teams:matchproc add:team1 {nick uhost hand chan text} { global team1name team1server  set team1name [lindex $text 0]  set team1server [lindex $text 1]}proc add:team2 {nick uhost hand chan text} { global team1name team1server team2name team2server  if {[info exists team1name] &amp;&amp; [info exists team1server]} {  set team2name [lindex $text 0]; set team2server [lindex $text 1]  putserv "PRIVMSG $chan :$team1name vs $team2name on $team1server" } putserv "PRIVMSG $chan :Cannot add Team #2. There is no Team #1 currently added."}proc teams:match {nick uhost hand chan text} { global team1name team1server team2name team2server if {![info exists team2name] &amp;&amp; ![info exists team2server]} {  putserv "PRIVMSG $chan :There cannot be a match. Team #2 has not been added." } if {[string equal -nocase "clear" [lindex $text 0]]} {  unset team1name; unset team1server unset team2name; unset team2server } if {[lindex $text 0] == ""} { putserv "PRIVMSG $chan: Listing currently added teams: putserv "PRIVMSG $chan: Team #1: $team1name on $team1server putserv "PRIVMSG $chan: Team #2: $team2name on $team2server }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Jan 30, 2005 10:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Maptec]]></name></author>
		<updated>2005-01-30T17:09:06-04:00</updated>

		<published>2005-01-30T17:09:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45980#p45980</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45980#p45980"/>
		<title type="html"><![CDATA[Match Finder Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45980#p45980"><![CDATA[
ty <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> If I didn`t delete it out of frustration i will post what i did have and see if it can work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5936">Maptec</a> — Sun Jan 30, 2005 5:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-01-30T15:55:50-04:00</updated>

		<published>2005-01-30T15:55:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45973#p45973</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45973#p45973"/>
		<title type="html"><![CDATA[Match Finder Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45973#p45973"><![CDATA[
"can" has a varios set of meanings, I'm sure many could help you... but the script you have requested will be more than just 10 lines of code so... maybe you should give it a try yourself. you will need a pubm bind, look for general and eggdrop specific tcl help to learn about tables so you can save the teams there and how to search a string again within it.<br>If it doesnt work, there will be sure someone helping you debugging it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun Jan 30, 2005 3:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Maptec]]></name></author>
		<updated>2005-01-30T15:29:19-04:00</updated>

		<published>2005-01-30T15:29:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45970#p45970</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45970#p45970"/>
		<title type="html"><![CDATA[Match Finder Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45970#p45970"><![CDATA[
lol guess no one can help me?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5936">Maptec</a> — Sun Jan 30, 2005 3:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Maptec]]></name></author>
		<updated>2005-01-29T00:44:07-04:00</updated>

		<published>2005-01-29T00:44:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45922#p45922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45922#p45922"/>
		<title type="html"><![CDATA[Match Finder Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45922#p45922"><![CDATA[
What i am needing (and yes i have tried to make myself with no luck) is a Match Finder script.<br><br>Basicly the first team will add to the script with !addteam &lt;team name&gt; &lt;server&gt; the secong team will come and !addteam &lt;teamname&gt; then the bot would announce in the channel "Team1 V Team2 on Team1 Server.<br><br> it has a public command of !match to show currently added teams and a timer that can be set to clear the team after so many minutes if there isn`t a second team that has added.<br><br> Is this possible or and i just not that good with tcl<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5936">Maptec</a> — Sat Jan 29, 2005 12:44 am</p><hr />
]]></content>
	</entry>
	</feed>
