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

	<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>2003-08-21T08:29:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Moose]]></name></author>
		<updated>2003-08-21T08:29:18-04:00</updated>

		<published>2003-08-21T08:29:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25415#p25415</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25415#p25415"/>
		<title type="html"><![CDATA[addition to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25415#p25415"><![CDATA[
thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3684">Moose</a> — Thu Aug 21, 2003 8:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-08-21T07:44:51-04:00</updated>

		<published>2003-08-21T07:44:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25412#p25412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25412#p25412"/>
		<title type="html"><![CDATA[addition to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25412#p25412"><![CDATA[
pushmode $chan +m<br>putserv "MODE $chan +m"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Aug 21, 2003 7:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Moose]]></name></author>
		<updated>2003-08-21T06:15:48-04:00</updated>

		<published>2003-08-21T06:15:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25401#p25401</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25401#p25401"/>
		<title type="html"><![CDATA[addition to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25401#p25401"><![CDATA[
any ideas on how to do the mode +m in the script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3684">Moose</a> — Thu Aug 21, 2003 6:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Moose]]></name></author>
		<updated>2003-08-21T04:27:45-04:00</updated>

		<published>2003-08-21T04:27:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25394#p25394</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25394#p25394"/>
		<title type="html"><![CDATA[addition to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25394#p25394"><![CDATA[
it does not seem to work when i do that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3684">Moose</a> — Thu Aug 21, 2003 4:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-08-20T17:58:52-04:00</updated>

		<published>2003-08-20T17:58:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25389#p25389</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25389#p25389"/>
		<title type="html"><![CDATA[addition to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25389#p25389"><![CDATA[
in your <strong class="text-strong">botrequest</strong> proc:<blockquote class="uncited"><div>proc botrequest { nick address handle chan text } { <br>set channel [join [lindex [split $text] 0]] <br>set bot [join [lindex [split $text] 1]] <br>[snip]</div></blockquote>I don't know from where u got this join command, or why u add it.<br>anywaym it should be:<div class="codebox"><p>Code: </p><pre><code>proc botrequest { nick address handle chan text } { set channel "[lindex [split $text] 0] "set bot "[lindex [split $text] 1] "#...</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Aug 20, 2003 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Moose]]></name></author>
		<updated>2003-08-20T15:39:08-04:00</updated>

		<published>2003-08-20T15:39:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25386#p25386</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25386#p25386"/>
		<title type="html"><![CDATA[addition to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25386#p25386"><![CDATA[
I have a request script but i cant make it put mode +m on when someone types !request &lt;#channe&gt; &lt;botnick&gt; here is the request script. could you please show me where it should go and what the part of the script is i think it is 'pushmode $channel +m' if that is right i dont know where to put it.<br><br>setudef flag requested<br><br>bind pub -|- !request botrequest<br>bind pub o|o !request-rules botrequestrules<br>bind pub o|o !request-format botrequestformat<br>bind pub o|o !request-website botrequestwebsite<br><br>proc botrequestwebsite {nick host handle channel arg} {<br>  putserv "NOTICE $nick :You can also request bots from the website, it is slightly slower but you can allways request there even if the status in the channel is offline. The website address is <a href="http://www.sdweb.co.uk" class="postlink">http://www.sdweb.co.uk</a>."<br>} <br><br>proc botrequestformat {nick host handle channel arg} {<br>  putserv "NOTICE $nick :Please type '!request &lt;#channel&gt; &lt;botnick&gt;' to request a bot."<br>} <br><br>proc botrequestrules {nick host handle channel arg} {<br>set line [split $arg @]<br>set line1 [lindex $line 0]<br>set line2 [lindex $line 1]<br>set line3 [lindex $line 3]<br>set line4 [lindex $line 4]<br>putserv "NOTICE $nick :Here are the rules: $line1"<br>putserv "NOTICE $nick :Do not request flood the bot. $line2"<br>putserv "NOTICE $nick :Do not try to request more than one bot. $line3"<br>putserv "NOTICE $nick :Do not try to request when you have a bot in your channel already. $line4"<br>}<br><br># Replace botname/botname2/botname3 with names of bots<br>#  You can have as many as needed.<br>#  Put the bot name in lowercase (no caps).<br>set requestable(|logical|) 1<br>set requestable(|icute|) 1<br>set requestable(|exode|) 1<br><br>set requestor(null) 0<br><br>set rbots(null) 0<br><br>proc botrequest { nick address handle chan text } {<br>set channel [join [lindex [split $text] 0]]<br>set bot [join [lindex [split $text] 1]]<br>      puthelp "NOTICE $nick :Your request is being handled"<br>global requestable<br>if { ![info exists requestable([string tolower $bot])] } {<br>puthelp "NOTICE $nick :Sorry, that isn't requestable."<br>return<br>}<br>if { [validchan $channel] } {<br>puthelp "NOTICE $nick :Sorry, I already seem to be on that channel."<br>return<br>}<br>channel add $channel<br>channel set $channel +requested<br>global requestor<br>global rbots<br>set requestor([string tolower $channel]) $nick<br>set rbots([string tolower $channel]) $bot<br>}<br><br>bind join -|- * botjoin3<br><br>proc botjoin3 { bnick address handle channel } {<br>global nick<br>if { [string tolower $bnick] == [string tolower $nick] } {<br>if { [channel get $channel requested] } {<br>utimer 10 [list checkjoin $channel]<br>channel set $channel -requested<br>}<br>}<br>}<br><br>proc checkjoin { channel } {<br>global requestor<br>set request $requestor([string tolower $channel])<br>if { ![isop $request $channel] } {<br>channel remove $channel<br>puthelp "NOTICE $request :Leaving channel $channel - requestor not opped"<br>return<br>}<br>set list [chanlist $channel]<br>set length [llength [split $list]]<br>if { $length &lt; 5 } {<br>channel remove $channel<br>            puthelp "NOTICE $request :You must have more than 5 people in the channel to request a bot."<br>return<br>}<br>global rbots<br>botjoin $rbots([string tolower $channel]) $channel<br>      channel remove $channel<br>}<br><br>proc botjoin { bot channel } {<br>set code "blah"; append code [string tolower $channel]; putserv "PRIVMSG $bot :join $channel [md5 $code]"[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3684">Moose</a> — Wed Aug 20, 2003 3:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
