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

	<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-11-15T17:45:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-15T17:45:26-04:00</updated>

		<published>2003-11-15T17:45:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30067#p30067</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30067#p30067"/>
		<title type="html"><![CDATA[Public !join !part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30067#p30067"><![CDATA[
nothing's wrong, make sure you .rehash after loading the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Nov 15, 2003 5:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[masterstanf2k]]></name></author>
		<updated>2003-11-15T17:23:14-04:00</updated>

		<published>2003-11-15T17:23:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30065#p30065</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30065#p30065"/>
		<title type="html"><![CDATA[Public !join !part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30065#p30065"><![CDATA[
???? What's wrong?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3942">masterstanf2k</a> — Sat Nov 15, 2003 5:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[masterstanf2k]]></name></author>
		<updated>2003-10-25T19:27:00-04:00</updated>

		<published>2003-10-25T19:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28955#p28955</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28955#p28955"/>
		<title type="html"><![CDATA[Public !join !part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28955#p28955"><![CDATA[
I'm using it, and it's not working <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3942">masterstanf2k</a> — Sat Oct 25, 2003 7:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dotslasher]]></name></author>
		<updated>2003-10-17T16:01:33-04:00</updated>

		<published>2003-10-17T16:01:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28626#p28626</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28626#p28626"/>
		<title type="html"><![CDATA[Public !join !part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28626#p28626"><![CDATA[
tyvm mate <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>much apreciated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3637">dotslasher</a> — Fri Oct 17, 2003 4:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2003-10-17T11:15:00-04:00</updated>

		<published>2003-10-17T11:15:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28623#p28623</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28623#p28623"/>
		<title type="html"><![CDATA[Public !join !part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28623#p28623"><![CDATA[
try this:<div class="codebox"><p>Code: </p><pre><code>## .JOIN ##bind pub m|- "!JOIN" pub_join_chanproc pub_join_chan {unick uhost handle uchan arg} {   global botnick   set chan  [lindex $arg 0]   set chans [channels]   set why [lrange $arg 1 end]   foreach chann $chans {      if {[string tolower $chann] == [string tolower $chan]} {         putserv "PRIVMSG $unick :$unick JOIN Error: I'm already on $chan "         return 0      }   }   if {$chan == ""} {      putserv "PRIVMSG $unick :$unick JOIN Error: Usage: !join &lt;Channel&gt;"      return 0   }   if {[string index $chan 0] != "#"} {      set chan "#$chan"   }   channel add $chan {    chanmode "+nt"    idle-kick 20    need-op {request_ops $chan }    need-invite {gimmie_da_key $chan }    need-key {gimmie_da_key $chan }    need-unban {gimmie_da_key $chan }    need-limit {gimmie_da_key $chan }    flood-chan 10:60    flood-deop 3:10    flood-kick 3:10    flood-join 5:60    flood-ctcp 3:60   }   channel set $chan -bitch +secret -autoop -clearbans -stopnethack +enforcebans   channel set $chan -greet -revenge +dynamicbans -protectops -statuslog +userbans   channel set $chan +shared -autovoice +cycle +seen +dontkickops +dontdeopops   putserv "PRIVMSG $nick :$nick added $chan to my monitor list"   return 1}## .PART ##bind pub m|- "!PART" pub_part_chanproc pub_part_chan {unick uhost handle uchan vars} {  global botnick  set where [lindex $vars 0]  set chans [channels]  if {$where == ""} {    putserv "PRIVMSG $nick :$nick PART Error: Usage: !part &lt;Channel you want me to leave&gt;"    return 0  }  if {[string index $where 0] != "#"} {    set where "#$where"  }  if {![string match *[string tolower $where]*  [string tolower $chans]]} {    putserv "PRIVMSG $nick :$nick PART Error: I'm not on $where."    return 0  }  channel remove $where  putserv "PRIVMSG $nick :No longer monitoring $where as per request from $handle."  return 1}</code></pre></div>Not change a lot, just binds, proc calls and way to respond...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Oct 17, 2003 11:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dotslasher]]></name></author>
		<updated>2003-10-17T10:50:33-04:00</updated>

		<published>2003-10-17T10:50:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28622#p28622</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28622#p28622"/>
		<title type="html"><![CDATA[Public !join !part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28622#p28622"><![CDATA[
how can i make an eggy Join a channel with a public command? <br>i got a .join (for dcc) but i dunno what to change <div class="codebox"><p>Code: </p><pre><code>## .JOIN ##bind dcc m JOIN dcc_join_chanproc dcc_join_chan {handle idx arg} {   global botnick chan   set chan  [lindex $arg 0]   set chans [channels]   set why [lrange $arg 1 end]   foreach chann $chans {      if {[string tolower $chann] == [string tolower $chan]} {         putdcc $idx "$handle JOIN Error: I'm already on $chan "         return 0      }   }   if {$chan == ""} {      putdcc $idx "$handle JOIN Error: Usage: .join &lt;Channel&gt;"      return 0   }   if {[string index $chan 0] != "#"} {      set chan "#$chan"   }   channel add $chan {    chanmode "+nt"    idle-kick 20    need-op {request_ops $chan }    need-invite {gimmie_da_key $chan }    need-key {gimmie_da_key $chan }    need-unban {gimmie_da_key $chan }    need-limit {gimmie_da_key $chan }    flood-chan 10:60    flood-deop 3:10    flood-kick 3:10    flood-join 5:60    flood-ctcp 3:60   }   channel set $chan -bitch +secret -autoop -clearbans -stopnethack +enforcebans    channel set $chan -greet -revenge +dynamicbans -protectops -statuslog +userbans   channel set $chan +shared -autovoice +cycle +seen +dontkickops +dontdeopops   putlog "$handle added $chan to my monitor list"   return 1}## .PART ##bind dcc m PART dcc_part_chanproc dcc_part_chan {handle idx vars} {  global botnick  set where [lindex $vars 0]  set chans [channels]  if {$where == ""} {    putdcc $idx "$handle PART Error: Usage: part &lt;Channel you want me to leave&gt;"    return 0  }  if {[string index $where 0] != "#"} {    set where "#$where"  }  if {![string match *[string tolower $where]*  [string tolower $chans]]} {    putdcc $idx "$handle PART Error: I'm not on $where."    return 0  }  channel remove $where  putlog "No longer monitoring $where as per request from $handle."  return 1}</code></pre></div>i know i have to change dcc to pub but i got this error: <br>Tcl error [pub_triggerj]: called "pub_triggerj" with too many arguments<br><br>my edit: <div class="codebox"><p>Code: </p><pre><code>set trigj "!Join" ;         set trigp "!Part" ;         ## .JOIN ##bind pub - $trigj pub_triggerjproc pub_triggerj {handle idx arg} {</code></pre></div>help is greatly apreciated <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3637">dotslasher</a> — Fri Oct 17, 2003 10:50 am</p><hr />
]]></content>
	</entry>
	</feed>
