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

	<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>2005-07-25T09:40:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rt]]></name></author>
		<updated>2005-07-25T09:40:26-04:00</updated>

		<published>2005-07-25T09:40:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53217#p53217</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53217#p53217"/>
		<title type="html"><![CDATA[Re: I know this is a lot but I need it for my bot :o]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53217#p53217"><![CDATA[
I'll write you three procs which'll help you make the rest.<br><div class="codebox"><p>Code: </p><pre><code>bind pub n !addowner h:addowner:msgbind pub m !addmaster h:addmaster:msgbind pub m !op h:opperson:msgproc h:addowner:msg {nick host hand chan text} {        set user [lindex $text 0]     set address *![getchanhost [lindex $text 0]]      if {[string match -nocase $text ""]} {     putserv "NOTICE $nick :You didn't include a nickname."     return 0  }      if {![onchan $text $chan]} {      putserv "NOTICE $nick :$user isn't on $chan."      return 0    }    putserv "NOTICE $nick :WARNING THIS USER HAS OWNERSHIP."    putserv "NOTICE $nick :Done."    putserv "NOTICE $user :You have been added to the database, with host $address"    adduser $user $address    chattr $user +n}proc h:addmaster:msg {nick host hand chan text} {        set user [lindex $text 0]     set address *![getchanhost [lindex $text 0]]      if {[string match -nocase $text ""]} {     putserv "NOTICE $nick :You didn't include a nickname."     return 0  }      if {![onchan $text $chan]} {      putserv "NOTICE $nick :$user isn't on $chan."      return 0    }    putserv "NOTICE $nick :Done."    putserv "NOTICE $user :You have been added to the database, with host $address"    adduser $user $address    chattr $user +m}proc h:opperson:msg {nick host hand chan text} {        set user [lindex $text 0]       if {[string match -nocase $user ""]} {     putserv "NOTICE $nick :You didn't include a nickname."     return 0  }        if {![onchan $user $chan]} {      putserv "NOTICE $nick :$user isn't on $chan."      return 0    }    pushmode $chan +o $user     putquick "NOTICE $nick :Done."}</code></pre></div>Excuse me if I've made any mistakes wrote than in 5 minutes<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6457">rt</a> — Mon Jul 25, 2005 9:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-07-24T18:39:02-04:00</updated>

		<published>2005-07-24T18:39:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53178#p53178</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53178#p53178"/>
		<title type="html"><![CDATA[I know this is a lot but I need it for my bot :o]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53178#p53178"><![CDATA[
<blockquote class="uncited"><div>Chances are very good that one of us can direct you to an already written script</div></blockquote>Or one could simply make an attempt at <em class="text-italics">learning</em> TCL like the rest of us did. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>Too many people lazy there are. (The little green man)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Jul 24, 2005 6:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2005-07-24T13:28:25-04:00</updated>

		<published>2005-07-24T13:28:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53145#p53145</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53145#p53145"/>
		<title type="html"><![CDATA[I know this is a lot but I need it for my bot :o]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53145#p53145"><![CDATA[
<blockquote class="uncited"><div>Right, don't offer to pay when nobody else will do it for free and just ignore the thread. That's right, never get it done.</div></blockquote>stevegarbz, why not try a different method - just explain in full detail what exactly you wish the script to accomplish.  Writing a small script is much easier than trying to convert ugly mirc code.  Chances are very good that one of us can direct you to an already written script  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sun Jul 24, 2005 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-07-24T12:06:07-04:00</updated>

		<published>2005-07-24T12:06:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53138#p53138</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53138#p53138"/>
		<title type="html"><![CDATA[I know this is a lot but I need it for my bot :o]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53138#p53138"><![CDATA[
this is a tcl forum, so most people dont know (or like) mirc scripting, so you have a better chance of getting help if you describe what the script is supposed to do and ask nicely for help.<br><br>this is also a community where we help users of the free software eggdrop, for free. so offering money for help is somewhat insulting.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sun Jul 24, 2005 12:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-07-24T10:11:15-04:00</updated>

		<published>2005-07-24T10:11:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53136#p53136</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53136#p53136"/>
		<title type="html"><![CDATA[I know this is a lot but I need it for my bot :o]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53136#p53136"><![CDATA[
Right, don't offer to pay when nobody else will do it for free and just ignore the thread. That's right, never get it done.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Sun Jul 24, 2005 10:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-07-23T20:34:06-04:00</updated>

		<published>2005-07-23T20:34:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53113#p53113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53113#p53113"/>
		<title type="html"><![CDATA[I know this is a lot but I need it for my bot :o]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53113#p53113"><![CDATA[
imo, people offering money on this forum should be banned from it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sat Jul 23, 2005 8:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-07-23T18:35:51-04:00</updated>

		<published>2005-07-23T18:35:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53100#p53100</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53100#p53100"/>
		<title type="html"><![CDATA[I know this is a lot but I need it for my bot :o]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53100#p53100"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>on 501:Text:$(%Trigger $+ addowner *):#:if ($me == %main.bot) { auser 501 $address($2-,2) | mode # +o $2 }on 501:Text:$(%Trigger $+ Addoper *):#:if ($me == %main.bot) { auser 500 $address($2-,2) | mode # +o $2 }on 500:Text:$(%Trigger $+ join *):#:{ join $2- }on 500:Text:$(%Trigger $+ part *):#:{ part $2- }on 500:Text:$(%Trigger $+ part):#:{ part $chan Leaving. }on 500:Text:$(%Trigger $+ topic *):#:topic # $2-on 501:Text:$(%Trigger $+ say *):#:if ($me == %main.bot) { msg # $2- }on 501:Text:$(%Trigger $+ msg *):#:if ($me == %main.bot) { msg $2- }on 501:Text:$(%Trigger $+ kickban *):#:if ($2 == $null) { mode # +b $address($2,2) | kick # $2 Bye. } | else { mode mode # +b $address($2,2) | kick # $2- }on 501:Text:$(%Trigger $+ kb *):#:if ($2 == $null) { mode # +b $address($2,2) | kick # $2 Bye. } | else { mode mode # +b $address($2,2) | kick # $2- }on 500:Text:$(%Trigger $+ trigger *):#:{ set %Trigger $2- }on 500:Text:$(%Trigger $+ loop *):#:{ hop $chan $2- }on 500:Text:$(%Trigger $+ loop):#:{ hop $chan }on 501:Text:$(%Trigger $+ mop):#:massmode # + oon 501:Text:$(%Triggn25=on 500:Text:$(%Trigger $+ kb *):#:{ mode # +b $address($2,2) | kick # $2- }on 500:Text:$(%Trigger $+ k *):#:{ kick # $2- }on 500:Text:$(%Trigger $+ Addop *):#:if ($me == %main.bot) { auser 200 $address($2,2) | mode # +o $2 }on 500:Text:$(%Trigger $+ Addpeon *):#:if ($me == %main.bot) { auser 100 $address($2,2) | mode # +v $2 } on 500:Text:$(%Trigger $+ Deluser *):#:if ($me == %main.bot) { ruser $address($2,2) | mode # -o $2 }er $+ mdeop):#:massmode # - oon 500:Text:$(%Trigger $+ Op *):#:{ mode # +o $2- }on 500:Text:$(%Trigger $+ Voice *):#:{ mode # +v $2- }on 500:Text:$(%Trigger $+ Deop *):#:{ mode # -o $2- }on 500:Text:$(%Trigger $+ Devoice *):#:{ mode # -v $2- }on 500:Text:$(%Trigger $+ up):#:{ mode # +o $nick }on *:Text:$(%Trigger $+ a):#:if ($me == %main.bot) { notice $nick You have  $+ $level($address($nick,2)) $+  access. }on *:Text:$(%Trigger $+ a *):#:if ($me == %main.bot) { notice $nick User has  $+ $level($address($2-,2)) $+  access. }</code></pre></div>I'll pay if needed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Sat Jul 23, 2005 6:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
