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

	<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>2006-10-16T16:09:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-10-16T16:09:20-04:00</updated>

		<published>2006-10-16T16:09:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67187#p67187</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67187#p67187"/>
		<title type="html"><![CDATA[bot request script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67187#p67187"><![CDATA[
*off topic*<br>smash : I've fixed your posts twice. Don't let this happen one more time cos you will find your entire thread sent to 'Junk Yard' section pronto. Please at least read <strong class="text-strong"><a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">Help us to help you</a></strong> if not <strong class="text-strong"><a href="http://forum.egghelp.org/viewtopic.php?t=6271" class="postlink">Things to do before posting..</a></strong> threads.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Oct 16, 2006 4:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-10-16T09:41:46-04:00</updated>

		<published>2006-10-16T09:41:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67181#p67181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67181#p67181"/>
		<title type="html"><![CDATA[bot request script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67181#p67181"><![CDATA[
Can't read? I asked that you used code tags. Your two posts are almost impossible to decipher.<br><div class="codebox"><p>Code: </p><pre><code>proc pub:request {nick uhost handle chan text} {    global botnicks    ....................{</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Oct 16, 2006 9:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smash]]></name></author>
		<updated>2006-10-16T07:14:06-04:00</updated>

		<published>2006-10-16T07:14:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67176#p67176</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67176#p67176"/>
		<title type="html"><![CDATA[bot request script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67176#p67176"><![CDATA[
here's the full script, not made by me i may add.<br><br>i would like to get this script workin OR if any 1 knows of a bot request script that work's ..? also i realy dont think the homepage bit is needed.<div class="codebox"><p>Code: </p><pre><code># BotRequest by popdog &lt;Humpert.Ben@T-Online.de&gt;, #Q-Control @ QuakeNet# version 1.3 for eggdrop 1.5.x &amp; 1.6.x# 05-Nov-2001# If you have suggestions -&gt; #Q-Control @ QuakeNet# some settingsset botnicks "RailJunkie RailQuizz"# Enter every bots nickanme which is free for requesting.set waittime "604800"# Enter time in seconds the user have to wait before he can request again. (default "604800" = 1 week)set receiver "$owner"# 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")# more users can be added if you remove the "#" in front of the line below# YOU SHOULDN'T EDIT ANYTHING BELOW THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING !!bind pub -|- !request pub:requestproc pub:request {nick uhost handle chan text} {  set ipmask [lindex [split [maskhost $nick![getchanhost $nick $chan]] "@"] 1]  set userm [lindex [split [getchanhost $nick $chan] "@"] 0]  set userhost *!*$userm@$ipmask  set requestbot [lindex [split $text " "] 0]  set channel [lindex [split $text " "] 1]  set homepage [lindex [split $text " "] 2]  if {[matchattr $handle +R]} {    putserv "NOTICE $nick :Request not send."    putserv "NOTICE $nick :You already requested a bot in the last 7 days!"    putserv "NOTICE $nick :You have to wait more than 7 days after a successful Request."    } else {    if {$requestbot == ""} {      putserv "NOTICE $nick :Wrong !request-format."      putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"      putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."      } else {      if {$channel == ""} {        putserv "NOTICE $nick :Wrong !request-format."        putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"        putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."        } else {        if {[string first "#" $channel] == -1} {          putserv "NOTICE $nick :Wrong !request-format."          putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"          putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."          } else {          if {[string first "http://" $homepage] == -1} {            putserv "NOTICE $nick :Wrong !request-format."            putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"            putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."            } else {            if {[string first $requestbot $botnicks] != -1} {              if {$channel != ""} {                if {$homepage != ""} {                  sendnote BotRequest $receiver "$nick want's $requestbot in $channel. His HP is $homepage."#                  sendnote BotRequest user1 "$nick want's $requestbot in $channel. His HP is $homepage."#                  sendnote BotRequest user2 "$nick want's $requestbot in $channel. His HP is $homepage."                  adduser $nick $userhost                  chattr $nick +R|                  utimer $waittime "chattr $nick -R|"                  putserv "NOTICE $nick :Request send."                  } else {                  putserv "NOTICE $nick :Wrong !request-format."                  putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"                  putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."                }              }              } else {              putserv "NOTICE $nick :You typed a wrong bot-nick. Known bot-nick's are:"              putserv "NOTICE $nick :$botnicks"            }          }        }      }    }  }}putlog "BotRequest v1.3 by popdog loaded."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8041">smash</a> — Mon Oct 16, 2006 7:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smash]]></name></author>
		<updated>2006-10-15T11:40:31-04:00</updated>

		<published>2006-10-15T11:40:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67160#p67160</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67160#p67160"/>
		<title type="html"><![CDATA[bot request script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67160#p67160"><![CDATA[
thanks for your reply, could you show ehere in the proc &gt;? it should go<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8041">smash</a> — Sun Oct 15, 2006 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-10-15T09:37:01-04:00</updated>

		<published>2006-10-15T09:37:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67156#p67156</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67156#p67156"/>
		<title type="html"><![CDATA[bot request script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67156#p67156"><![CDATA[
Fix your post using code tags.<br><br>botnicks is not declared within the proc.<div class="codebox"><p>Code: </p><pre><code>global botnicks</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Oct 15, 2006 9:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smash]]></name></author>
		<updated>2006-10-15T05:33:25-04:00</updated>

		<published>2006-10-15T05:33:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67154#p67154</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67154#p67154"/>
		<title type="html"><![CDATA[bot request script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67154#p67154"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set botnicks "RailJunkie RailQuizz"set waittime "604800" set receiver "$owner"bind pub -|- !request pub:requestproc pub:request {nick uhost handle chan text} {{  set ipmask [lindex [split [maskhost $nick![getchanhost $nick $chan]] "@"] 1]  set userm [lindex [split [getchanhost $nick $chan] "@"] 0]  set userhost *!*$userm@$ipmask  set requestbot [lindex [split $text " "] 0]  set channel [lindex [split $text " "] 1]  set homepage [lindex [split $text " "] 2]  if {[matchattr $handle +R]} {  {    putserv "NOTICE $nick :Request not send."    putserv "NOTICE $nick :You already requested a bot in the last 7 days!"    putserv "NOTICE $nick :You have to wait more than 7 days after a successful Request."    } else {    if {$requestbot == ""} {      putserv "NOTICE $nick :Wrong !request-format."      putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"      putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."      } else {      if {$channel == ""} {        putserv "NOTICE $nick :Wrong !request-format."        putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"        putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."        } else {        if {[string first "#" $channel] == -1} {          putserv "NOTICE $nick :Wrong !request-format."          putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"          putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."          } else {          if {[string first "http://" $homepage] == -1} {            putserv "NOTICE $nick :Wrong !request-format."            putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"            putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."            } else {            if {[string first $requestbot $botnicks] != -1} {              if {$channel != ""} {                if {$homepage != ""} {                  sendnote BotRequest $receiver "$nick want's $requestbot in $channel. His HP is $homepage."#                  sendnote BotRequest user1 "$nick want's $requestbot in $channel. His HP is $homepage."#                  sendnote BotRequest user2 "$nick want's $requestbot in $channel. His HP is $homepage."                  adduser $nick $userhost                  chattr $nick +R|                  utimer $waittime "chattr $nick -R|"                  putserv "NOTICE $nick :Request send."                  } else {                  putserv "NOTICE $nick :Wrong !request-format."                  putserv "NOTICE $nick :To request use: 4!request &lt;bot-nick&gt; #channel http://www.home.page"                  putserv "NOTICE $nick :You also need a working homepage and 2 or more Members opped in the requested channel."                }              }              } else {              putserv "NOTICE $nick :You typed a wrong bot-nick. Known bot-nick's are:"              putserv "NOTICE $nick :$botnicks"            }          }        }      }    }  }}putlog "bla bla bla"</code></pre></div>all works ok till you try the full request.<br><br>IE !request RailJunkie #mychan <a href="http://www.myhomepage.com" class="postlink">http://www.myhomepage.com</a> <br>i get this error,<br>RailJunkie Tcl error [pub:request]: can't read "botnicks": no such variable<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8041">smash</a> — Sun Oct 15, 2006 5:33 am</p><hr />
]]></content>
	</entry>
	</feed>
