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

	<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-11-21T16:25:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-21T16:25:09-04:00</updated>

		<published>2002-11-21T16:25:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13459#p13459</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13459#p13459"/>
		<title type="html"><![CDATA[great]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13459#p13459"><![CDATA[
thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br>It work now <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by Guest — Thu Nov 21, 2002 4:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-11-21T14:33:58-04:00</updated>

		<published>2002-11-21T14:33:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13458#p13458</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13458#p13458"/>
		<title type="html"><![CDATA[Anyone have tryed &quot;popdog&quot; BotRequest script from]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13458#p13458"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>global botnicks</code></pre></div>change this line to:<div class="codebox"><p>Code: </p><pre><code>global botnicks receiver waittime</code></pre></div>when a variable is set outside a proc you have to put it in the global line to be able to use it inside a proc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Nov 21, 2002 2:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-21T13:53:05-04:00</updated>

		<published>2002-11-21T13:53:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13456#p13456</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13456#p13456"/>
		<title type="html"><![CDATA[!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13456#p13456"><![CDATA[
hmm now that error are gone, but a new come :/<br><br>Tcl error [pub:request]: can't read "receiver": no such variable<br><br>can you help again ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Thu Nov 21, 2002 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-21T12:38:05-04:00</updated>

		<published>2002-11-21T12:38:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13450#p13450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13450#p13450"/>
		<title type="html"><![CDATA[Anyone have tryed &quot;popdog&quot; BotRequest script from]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13450#p13450"><![CDATA[
Locate this line<div class="codebox"><p>Code: </p><pre><code>proc pub:request {nick uhost handle chan text} {</code></pre></div>and make it<div class="codebox"><p>Code: </p><pre><code>proc pub:request {nick uhost handle chan text} {global botnicks</code></pre></div>(yes it is 2 seperate lines)<br><br>I don't know if there are any other errors.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Nov 21, 2002 12:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-21T12:18:47-04:00</updated>

		<published>2002-11-21T12:18:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13448#p13448</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13448#p13448"/>
		<title type="html"><![CDATA[the script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13448#p13448"><![CDATA[
Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br><br># BotRequest by popdog &lt;<a href="mailto:Humpert.Ben@T-Online.de">Humpert.Ben@T-Online.de</a>&gt;, #Q-Control @ QuakeNet<br># version 1.3 for eggdrop 1.5.x &amp; 1.6.x<br># 05-Nov-2001<br># If you have suggestions -&gt; #Q-Control @ QuakeNet<br><br># some settings<br><br>set botnicks "ZyFleX01 ZyFleX02"<br># Enter every bots nickanme which is free for requesting.<br>set waittime "3800"<br># Enter time in seconds the user have to wait before he can request again. (default "604800" = 1 week)<br>set receiver "$owner"<br># Enter handle (or use $owner if the bot-owner shout receive it) of added user which should receive the request. If note should send to an user on another bot use handle@botname. (default "$owner")<br># more users can be added if you remove the "#" in front of the line below<br><br><br># YOU SHOULDN'T EDIT ANYTHING BELOW THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING !!<br><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>}<br><br>putlog "BotRequest v1.3 by popdog loaded."<p>Statistics: Posted by Guest — Thu Nov 21, 2002 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-21T12:17:31-04:00</updated>

		<published>2002-11-21T12:17:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13447#p13447</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13447#p13447"/>
		<title type="html"><![CDATA[Anyone have tryed &quot;popdog&quot; BotRequest script from]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13447#p13447"><![CDATA[
If you post a link to the script, I will look over it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Nov 21, 2002 12:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-21T11:35:42-04:00</updated>

		<published>2002-11-21T11:35:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13446#p13446</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13446#p13446"/>
		<title type="html"><![CDATA[k]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13446#p13446"><![CDATA[
I used the advanced one...<br><br>im checking the tcl again... im almost sure im not gonna find any errors.... im a n00b in tcl... :/<br>perhaps you will check it for me if i post it here ?<p>Statistics: Posted by Guest — Thu Nov 21, 2002 11:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-11-21T11:31:02-04:00</updated>

		<published>2002-11-21T11:31:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13445#p13445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13445#p13445"/>
		<title type="html"><![CDATA[Anyone have tryed &quot;popdog&quot; BotRequest script from]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13445#p13445"><![CDATA[
My advice is to read over the configuration of the script carefully, as you may have left out a setting, that can't be blank, or has a invalid format.<br><br>While it may not be directly named the same as in the error, missing data elsewhere could cause this to happen.<br><br>Another cause is, that you have missed a setting in the main config file. Which config template did you use.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Nov 21, 2002 11:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-21T11:24:31-04:00</updated>

		<published>2002-11-21T11:24:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13444#p13444</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13444#p13444"/>
		<title type="html"><![CDATA[.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13444#p13444"><![CDATA[
im not sure i understand what you mean... i cant find any place in the script where there only are typed botnick<p>Statistics: Posted by Guest — Thu Nov 21, 2002 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-11-21T11:19:27-04:00</updated>

		<published>2002-11-21T11:19:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13443#p13443</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13443#p13443"/>
		<title type="html"><![CDATA[Anyone have tryed &quot;popdog&quot; BotRequest script from]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13443#p13443"><![CDATA[
There is a standard variable called 'botnick', but not 'botnicks' - is this a typo?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Thu Nov 21, 2002 11:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-11-21T11:14:40-04:00</updated>

		<published>2002-11-21T11:14:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13442#p13442</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13442#p13442"/>
		<title type="html"><![CDATA[Anyone have tryed &quot;popdog&quot; BotRequest script from]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13442#p13442"><![CDATA[
have anyone tryed that script ?<br>my wont work...<br>perhaps anyone can help me whit it ?<br><br>When ppl use the request command nothing happens...<br>but in the partyline the bot says:<br><br>Tcl error [pub:request]: can't read "botnicks": no such variable<br><br>I have set the bot nicks... what can be wrong ?<p>Statistics: Posted by Guest — Thu Nov 21, 2002 11:14 am</p><hr />
]]></content>
	</entry>
	</feed>
