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

	<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-19T10:01:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Moose]]></name></author>
		<updated>2003-08-19T10:01:55-04:00</updated>

		<published>2003-08-19T10:01:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25270#p25270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25270#p25270"/>
		<title type="html"><![CDATA[Add things to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25270#p25270"><![CDATA[
its ok now ive done it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3684">Moose</a> — Tue Aug 19, 2003 10:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-08-19T09:28:59-04:00</updated>

		<published>2003-08-19T09:28:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25268#p25268</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25268#p25268"/>
		<title type="html"><![CDATA[Add things to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25268#p25268"><![CDATA[
putserv "PRIVMSG $channel :Request being handled." ($channel depends on the channel's arg"<br><br>where exactly do u want it to do that ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Aug 19, 2003 9:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Moose]]></name></author>
		<updated>2003-08-19T08:09:48-04:00</updated>

		<published>2003-08-19T08:09:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25260#p25260</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25260#p25260"/>
		<title type="html"><![CDATA[Add things to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25260#p25260"><![CDATA[
here is the request script i was made. what i want to do is add a peice of script to this to make the bot send a message to the channel where the bot service is saying Request being handled.<br><br>Can anyone help with that <br><br>here is the script.<br><br><br><br># This file is loaded on the request bot<br><br>setudef flag requested<br><br>bind pub -|- !request botrequest<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>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 5 [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]"<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3684">Moose</a> — Tue Aug 19, 2003 8:09 am</p><hr />
]]></content>
	</entry>
	</feed>
