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

	<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>2002-08-27T13:16:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-08-27T13:16:03-04:00</updated>

		<published>2002-08-27T13:16:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10077#p10077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10077#p10077"/>
		<title type="html"><![CDATA[Problem with tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10077#p10077"><![CDATA[
no problem <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>glad to be of assistance <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Aug 27, 2002 1:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-27T11:55:38-04:00</updated>

		<published>2002-08-27T11:55:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10076#p10076</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10076#p10076"/>
		<title type="html"><![CDATA[Problem with tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10076#p10076"><![CDATA[
thx pap, that worked great!!<p>Statistics: Posted by Guest — Tue Aug 27, 2002 11:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-08-27T11:13:16-04:00</updated>

		<published>2002-08-27T11:13:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10073#p10073</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10073#p10073"/>
		<title type="html"><![CDATA[Problem with tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10073#p10073"><![CDATA[
after: <div class="codebox"><p>Code: </p><pre><code>proc pub:request {nick uhost handle chan text} {</code></pre></div>add this line:<div class="codebox"><p>Code: </p><pre><code>global botnicks waittime receiver</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Aug 27, 2002 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-27T09:24:29-04:00</updated>

		<published>2002-08-27T09:24:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10071#p10071</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10071#p10071"/>
		<title type="html"><![CDATA[Problem with tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10071#p10071"><![CDATA[
Lo all, i leeched this tcl off the archive and it throws an error at me in the partyline "Tcl error [pub:request]: can't read "botnicks": no such variable"<br><br>ive got the tcl here so u can view, if anyone can help id be gratefull<br><br>thx peepls<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <br><br>set botnicks "botnick1 botnick2 botnick3"<br>set waittime "604800"<br>again. (default "604800" = 1 week)<br>set receiver "$owner"<br>bind pub -|- !request pub:request<br><br>proc pub:request {nick uhost handle chan text} {<br>  set ipmask [lindex [split [maskhost $nick![getchanhost $nick $chan]] "@"] 1]<br>  set userm [lindex [split [getchanhost $nick $chan] "@"] 0]<br>  set userhost *!*$userm@$ipmask<br>  set requestbot [lindex [split $text " "] 0]<br>  set channel [lindex [split $text " "] 1]<br>  set homepage [lindex [split $text " "] 2]<br>  if {[matchattr $handle +R]} {<br>    putserv "NOTICE $nick :Request not send."<br>    putserv "NOTICE $nick :You already requested a bot in the last 7 days!"<br>    putserv "NOTICE $nick :You have to wait more than 7 days after a successful Request."<br>    } else {<br>    if {$requestbot == ""} {<br>      putserv "NOTICE $nick :Wrong !request-format."<br>      putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel <a href="http://www.home.page" class="postlink">http://www.home.page</a>"<br>      putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."<br>      } else {<br>      if {$channel == ""} {<br>        putserv "NOTICE $nick :Wrong !request-format."<br>        putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel <a href="http://www.home.page" class="postlink">http://www.home.page</a>"<br>        putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."<br>        } else {<br>        if {[string first "#" $channel] == -1} {<br>          putserv "NOTICE $nick :Wrong !request-format."<br>          putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel <a href="http://www.home.page" class="postlink">http://www.home.page</a>"<br>          putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."<br>          } else {<br>          if {[string first "http://" $homepage] == -1} {<br>            putserv "NOTICE $nick :Wrong !request-format."<br>            putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel <a href="http://www.home.page" class="postlink">http://www.home.page</a>"<br>            putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."<br>            } else {<br>            if {[string first $requestbot $botnicks] != -1} {<br>              if {$channel != ""} {<br>                if {$homepage != ""} {<br>                  sendnote BotRequest $receiver "$nick want's $requestbot in $channel. His HP is $homepage."<br>#                  sendnote BotRequest user1 "$nick want's $requestbot in $channel. His HP is $homepage."<br>#                  sendnote BotRequest user2 "$nick want's $requestbot in $channel. His HP is $homepage."<br>                  adduser $nick $userhost<br>                  chattr $nick +R|<br>                  utimer $waittime "chattr $nick -R|"<br>                  putserv "NOTICE $nick :Request send."<br>                  } else {<br>                  putserv "NOTICE $nick :Wrong !request-format."<br>                  putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel <a href="http://www.home.page" class="postlink">http://www.home.page</a>"<br>                  putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."<br>                }<br>              }<br>              } else {<br>              putserv "NOTICE $nick :You typed a wrong bot-nick. Known bot-nick's are:"<br>              putserv "NOTICE $nick :$botnicks"<br>            }<br>          }<br>        }<br>      }<br>    }<br>  }<br>}<p>Statistics: Posted by Guest — Tue Aug 27, 2002 9:24 am</p><hr />
]]></content>
	</entry>
	</feed>
