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

	<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>2001-12-18T04:11:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-18T04:11:00-04:00</updated>

		<published>2001-12-18T04:11:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2902#p2902</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2902#p2902"/>
		<title type="html"><![CDATA[BotRequest.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2902#p2902"><![CDATA[
According to that code, it is sending $receiver the note. You have that set as $owner. If you are the owner of the bot, then the bot is displaying the note to you.<br><br>If you're not away on the bot, it will appear to show it on the partyline.<br><p>Statistics: Posted by Guest — Tue Dec 18, 2001 4:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-18T03:06:00-04:00</updated>

		<published>2001-12-18T03:06:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2900#p2900</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2900#p2900"/>
		<title type="html"><![CDATA[BotRequest.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2900#p2900"><![CDATA[
one more thing how do i get the note sent to me instead of the party line?<p>Statistics: Posted by Guest — Tue Dec 18, 2001 3:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-18T03:00:00-04:00</updated>

		<published>2001-12-18T03:00:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2898#p2898</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2898#p2898"/>
		<title type="html"><![CDATA[BotRequest.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2898#p2898"><![CDATA[
Thanks no more error <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by Guest — Tue Dec 18, 2001 3:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-18T02:58:00-04:00</updated>

		<published>2001-12-18T02:58:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2897#p2897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2897#p2897"/>
		<title type="html"><![CDATA[BotRequest.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2897#p2897"><![CDATA[
Change<div class="codebox"><p>Code: </p><pre><code>proc pub:request {nick uhost handle chan text} { global botnicks receiver</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>proc pub:request {nick uhost handle chan text} { global botnicks receiver waittime</code></pre></div><p>Statistics: Posted by Guest — Tue Dec 18, 2001 2:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-18T02:55:00-04:00</updated>

		<published>2001-12-18T02:55:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2896#p2896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2896#p2896"/>
		<title type="html"><![CDATA[BotRequest.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2896#p2896"><![CDATA[
lol fixin and error comes an error any way it fixed the specific error but now am getting :<br>TCL error [pub:request]: can't read "waittime": no such variable<p>Statistics: Posted by Guest — Tue Dec 18, 2001 2:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-18T02:52:00-04:00</updated>

		<published>2001-12-18T02:52:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2895#p2895</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2895#p2895"/>
		<title type="html"><![CDATA[BotRequest.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2895#p2895"><![CDATA[
Change<div class="codebox"><p>Code: </p><pre><code>proc pub:request {nick uhost handle chan text} { global botnicks</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>proc pub:request {nick uhost handle chan text} { global botnicks receiver</code></pre></div><p>Statistics: Posted by Guest — Tue Dec 18, 2001 2:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-18T02:44:00-04:00</updated>

		<published>2001-12-18T02:44:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2893#p2893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2893#p2893"/>
		<title type="html"><![CDATA[BotRequest.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2893#p2893"><![CDATA[
I need help with this dont know if you are familiar with the script but here is the code:<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 "|Shadows| |Creapy| |Tyreal|"<br># Enter every bots nickanme which is free for requesting.<br>set waittime "68000"<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>  global botnicks<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."<br><br><br>i get an error in the partyline that says : <br>TCL error [pub:request]: can't read "receiver": no such variable<br><br><br>i tried to message popdog see if he could help but he never answers. can you help?<br><p>Statistics: Posted by Guest — Tue Dec 18, 2001 2:44 am</p><hr />
]]></content>
	</entry>
	</feed>
