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

	<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>2004-01-09T19:07:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2004-01-09T19:07:07-04:00</updated>

		<published>2004-01-09T19:07:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32387#p32387</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32387#p32387"/>
		<title type="html"><![CDATA[Why not work? plzz help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32387#p32387"><![CDATA[
You're using several elses in the proc, instead use elseif.<br><br>for example instead of<blockquote class="uncited"><div>} else { <br>    if {$requestbot == ""} {</div></blockquote>use <div class="codebox"><p>Code: </p><pre><code>} elseif {$requestbot == ""} {</code></pre></div>and same for the other except the last one (You're allowed to use 1 else)<br><br>also make sure you have +R global flag.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jan 09, 2004 7:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-01-09T18:58:52-04:00</updated>

		<published>2004-01-09T18:58:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32386#p32386</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32386#p32386"/>
		<title type="html"><![CDATA[Why not work? plzz help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32386#p32386"><![CDATA[
Why this script not working???<br><br> it not send me a privmsg <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><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 "botis"# 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} { global botnicks receiver waittime  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 != ""} {                putserv  "privmsg  $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 Guest — Fri Jan 09, 2004 6:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
