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

	<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>2006-03-24T21:08:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-03-24T21:08:53-04:00</updated>

		<published>2006-03-24T21:08:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61372#p61372</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61372#p61372"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61372#p61372"><![CDATA[
MeTroiD, how would one go about for adding more commands like .op .deop .voice .devoice etc.?<br>Im very new at this, but im trying to learn.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Fri Mar 24, 2006 9:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GeeX]]></name></author>
		<updated>2006-03-05T12:48:45-04:00</updated>

		<published>2006-03-05T12:48:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60880#p60880</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60880#p60880"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60880#p60880"><![CDATA[
well, it doens't matter, or does it?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6744">GeeX</a> — Sun Mar 05, 2006 12:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-03-02T08:29:51-04:00</updated>

		<published>2006-03-02T08:29:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60772#p60772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60772#p60772"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60772#p60772"><![CDATA[
As stated in the piece of script i made, you don't need to set it if you set your triggers properly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Thu Mar 02, 2006 8:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GeeX]]></name></author>
		<updated>2006-03-02T05:23:08-04:00</updated>

		<published>2006-03-02T05:23:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60769#p60769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60769#p60769"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60769#p60769"><![CDATA[
The "\" is for users that want user this trigger: "$"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6744">GeeX</a> — Thu Mar 02, 2006 5:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-02-28T05:27:35-04:00</updated>

		<published>2006-02-28T05:27:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60716#p60716</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60716#p60716"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60716#p60716"><![CDATA[
this script is worthless in my opinion because you do no checking for anything at all. <br><br>You don't split any arguments at all so it won't work with special characters such as {}[]\.<br><br>Furthermore the fact that you escape '!' as trigger tells me you don't know what placing an \ before it does.<br><br>Here is a <strong class="text-strong">proper</strong> script..<br><br>(yes i know it's just a <strong class="text-strong">good</strong> version of what he made)<br><div class="codebox"><p>Code: </p><pre><code># you can set any trigger, setting $ won't make a difference and you don't have to escape it.set trigger "!"# i left out things i found utterly useless. add them yourself if you still want itbind PUB n|-  ${trigger}join  pub:joinbind PUB n|-  ${trigger}part  pub:partbind PUB n|-  ${trigger}hop   pub:hopbind PUB n|-  ${trigger}nick  pub:nickbind PUB n|-  ${trigger}bc    pub:bcproc pub:part {nickname hostname handle channel arguments} {  if {![llength [split $arguments]]} {    channel remove $channel  } elseif {![validchan [set channel [lindex [split $arguments] 0]]]} {    putserv "NOTICE $nickname :Unknown channel '$channel'"  } else {    channel remove $channel  }}proc pub:join {nickname hostname handle channel arguments} {  if {![llength [split $arguments]] || [validchan [set channel [lindex [split $arguments] 0]]]} {    putserv "NOTICE $nickname :Please use $::lastbind #channel"  } else {    channel add $channel  }}proc pub:hop {nickname hostname handle channel arguments} {  if {![llength [split $arguments]]} {    putquick "PART $channel"  } elseif {![validchan [set channel [lindex [split $arguments] 0]]]} {    putserv "NOTICE $nickname :Unknown channel '$channel'"  } else {    putquick "PART $channel"  }}proc pub:nick {nickname hostname handle channel arguments} {  if {![llength [split $arguments]]} {    putserv "NOTICE $nickname :Please use $::lastbind &lt;new-nickname&gt;"  } else {    set ::nick [lindex [split $arguments] 0]  }}proc pub:bc {nickname hostname handle channel arguments} {  if {![llength [split $arguments]]} {    putserv "NOTICE $nickname :Please use $::lastbind &lt;message&gt;"  } else {    # i think most ircd's support this way of messaging but incase yours doesn't    # remove the comment from the next line and comment the other one    # foreach c [channels] { puthelp "PRIVMSG $c :[join [split $arguments]]" }    putquick "PRIVMSG [join [channels] ,] :(Broadcast) [join [split $arguments]]"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Tue Feb 28, 2006 5:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GeeX]]></name></author>
		<updated>2006-02-27T11:28:16-04:00</updated>

		<published>2006-02-27T11:28:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60696#p60696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60696#p60696"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60696#p60696"><![CDATA[
Lil Update:<br><div class="codebox"><p>Code: </p><pre><code>#  __                __      __    # /\ \              /\ \  __/\ \   # \ \ \         __  \ \ \/\ \ \ \  #  \ \ \  __  /'__`\ \ \ \ \ \ \ \ #   \ \ \_\ \/\ \_\ \_\ \ \_/ \_\ \#    \ \____/\ \__/ \_\\ `\___ ___/#     \/___/  \/__/\/_/ '\/__//__/ ## Commands Script by LaW.## Don't change anything.# Report bugs to #GeeX on Quakenet.#  Join/Part/Hop/Say/Nick/Broadcast/Msg/Jump  #  configuration     #  variables          set cmd(trigger) "\!"          set cmd(author)  "LaW (#GeeX on Quakenet)"          set cmd(version) "1.1"     #  bindings          bind PUB n|- "$cmd(trigger)join" pub:join          bind PUB n|- "$cmd(trigger)part" pub:part          bind PUB n|- "$cmd(trigger)hop"  pub:hop          bind PUB n|- "$cmd(trigger)say"  pub:say          bind PUB n|- "$cmd(trigger)nick" pub:nick          bind PUB n|- "$cmd(trigger)bc"   pub:bc          bind PUB n|- "$cmd(trigger)msg"  pub:msg     #  copyright          putlog "Commands Script version $cmd(version) scripted by $cmd(author)"     #  source (again DO NOT change anything if you are not 100% sure)          proc pub:part { nick uhost hand chan text } {           if {$text == ""} {             channel remove $chan            } else {             channel remove $text }          }          proc pub:join { nick uhost hand chan text } {            channel add $text           }          proc pub:hop { nick uhost hand chan text } {            if {$text == ""} {             putserv "PART $chan" }            else {             putserv "PART $text" }          }          proc pub:say { nick uhost hand chan text } {            putserv "PRIVMSG $chan :$text"          }          proc pub:nick { nick uhost hand chan text } {            set ::nick $text          }          proc pub:bc { nick host hand chan text } {           foreach chan [channels] { puthelp "privmsg $chan :$text" }          }                    proc pub:msg { nick host hand chan text } {           set chan [lindex $text 0]           set msg [lrange $text 1 end]           putserv "PRIVMSG $chan :$msg"          }                    proc pub:jump {nick host hand chan text} {           set server [lindex $text 0]           set port [lindex $text 1]           jump $server $port          }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6744">GeeX</a> — Mon Feb 27, 2006 11:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mAxP]]></name></author>
		<updated>2006-02-16T09:43:20-04:00</updated>

		<published>2006-02-16T09:43:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60469#p60469</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60469#p60469"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60469#p60469"><![CDATA[
thx for all replys<br>@sir_fz now all works without errors <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>@highlander <br><br>for me as noob its very difficult to understand this maybe changes in a few weeks ;&gt; and your right its not very secure but its secure enouth for me <br><br>so thx guys every question done<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7372">mAxP</a> — Thu Feb 16, 2006 9:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ian-Highlander]]></name></author>
		<updated>2006-02-16T08:35:52-04:00</updated>

		<published>2006-02-16T08:35:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60466#p60466</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60466#p60466"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60466#p60466"><![CDATA[
The only thing to bear in mind is that written that way that script is completely insecure, anyone could spoof an owners hostmask and have full access to all the commands built into that and any scripts like it.<br><br>One of the reasons The_Quickening is as "complicated" as it is (I didnt think it actually was particularly complicated) is that when I wrote it I deliberately tried to make it as secure as I could because I'd seen the results of insecure public commands scripts, thats why it has the extra protection of a password protected authentication system built in.<br><br>Of course you are completely free to do what you want but it wouldnt be right to let you do so without letting you know the implications of it first. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=17">Ian-Highlander</a> — Thu Feb 16, 2006 8:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-02-15T19:21:18-04:00</updated>

		<published>2006-02-15T19:21:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60450#p60450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60450#p60450"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60450#p60450"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>}else {</code></pre></div>is incorrect syntax. Use:<div class="codebox"><p>Code: </p><pre><code>} else {</code></pre></div>or<div class="codebox"><p>Code: </p><pre><code>} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Feb 15, 2006 7:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mAxP]]></name></author>
		<updated>2006-02-15T13:09:04-04:00</updated>

		<published>2006-02-15T13:09:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60447#p60447</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60447#p60447"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60447#p60447"><![CDATA[
thx works all fine<br> <br>but ".hop"<br>bot parts chan but doesnt rejoin<br><br>[17:50] Tcl error [pub:part]: invalid command name "else"<br><br>some one got a sollution?<br><br>same error, but commad works<br>[17:50] Tcl error [pub:part]: invalid command name "else"<br><br><br>and another question <br><br>is it possible to ".part #chan" because part only works on the channel you want to part with ".part" <br><br>THX GUYZ :]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7372">mAxP</a> — Wed Feb 15, 2006 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GeeX]]></name></author>
		<updated>2006-02-15T11:15:44-04:00</updated>

		<published>2006-02-15T11:15:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60442#p60442</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60442#p60442"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60442#p60442"><![CDATA[
Here, is mine:<br><div class="codebox"><p>Code: </p><pre><code>#  __                __      __    # /\ \              /\ \  __/\ \   # \ \ \         __  \ \ \/\ \ \ \  #  \ \ \  __  /'__`\ \ \ \ \ \ \ \ #   \ \ \_\ \/\ \_\ \_\ \ \_/ \_\ \#    \ \____/\ \__/ \_\\ `\___ ___/#     \/___/  \/__/\/_/ '\/__//__/ ## Commands Script by LaW.## Don't change anything.# Report bugs to #GeeX on Quakenet.#  Join/Part/Hop/Say/Nick/Broadcast  #  configuration     #  variables          set cmd(trigger) "\."          set cmd(author)  "LaW (#GeeX on Quakenet)"          set cmd(version) "1.0"     #  bindings          bind PUB n|- "$cmd(trigger)join" pub:join          bind PUB n|- "$cmd(trigger)part" pub:part          bind PUB n|- "$cmd(trigger)hop"  pub:hop          bind PUB n|- "$cmd(trigger)say"  pub:say          bind PUB n|- "$cmd(trigger)nick" pub:nick          bind PUB n|- "$cmd(trigger)bc"   pub:bc     #  copyright          putlog "Commands Script version $cmd(version) scripted by $cmd(author)"     #  source (again DO NOT change anything if you are not 100% sure)          proc pub:part { nick uhost hand chan text } {           if {$text == ""} {             channel remove $chan }            else {             channel remove $text }          }          proc pub:join { nick uhost hand chan text } {            channel add $text           }          proc pub:hop { nick uhost hand chan text } {            if {$text == ""} {             putserv "PART $chan" }            else {             putserv "PART $text" }          }          proc pub:say { nick uhost hand chan text } {            putserv "PRIVMSG $chan :$text" }          proc pub:nick { nick uhost hand chan text } {            set ::nick $text }          proc pub:bc {nick host hand chan text} {           putquick "PRIVMSG [join [channels] ","] :[join [split $text]]"          }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6744">GeeX</a> — Wed Feb 15, 2006 11:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mAxP]]></name></author>
		<updated>2006-02-15T08:10:01-04:00</updated>

		<published>2006-02-15T08:10:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60439#p60439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60439#p60439"/>
		<title type="html"><![CDATA[Public command script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60439#p60439"><![CDATA[
hu experts helo again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>im a total noob and want to write my own script <br>for  !join #chan !part #chan !kick !kickbann !voice !unbann !op<br><br>i found the The_Quickening script for that but i want to write my own script <br><br>can somebody give me an example for a easy !join #chan script not that complicated like in The_Quickening. the rest i want to do alone <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>thx 2 all helpers :&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7372">mAxP</a> — Wed Feb 15, 2006 8:10 am</p><hr />
]]></content>
	</entry>
	</feed>
