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

	<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-01-14T08:10:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[e-force]]></name></author>
		<updated>2005-01-14T08:10:42-04:00</updated>

		<published>2005-01-14T08:10:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45388#p45388</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45388#p45388"/>
		<title type="html"><![CDATA[help with &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45388#p45388"><![CDATA[
Ok, thanks to all, now my problem is fixed,<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5860">e-force</a> — Fri Jan 14, 2005 8:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-01-14T07:36:35-04:00</updated>

		<published>2005-01-14T07:36:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45385#p45385</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45385#p45385"/>
		<title type="html"><![CDATA[help with &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45385#p45385"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub o|o .k pub:kickproc pub:kick { nickname hostname handle channel arguments } {set victim [lindex [split $arguments] 0]set reason [lrange [split $arguments] 1 end]if {[matchattr $victim b] &amp;&amp; [matchattr $victim n]} {putquick "NOTICE $nickname :You aren't allowed to kick this user!"return 0}if {![onchan $victim $channel]} {putquick "NOTICE $nickname :$victim is not on $channel"return 0}if {$reason == ""} {set reason "Requested"}putquick "KICK $channel $victim :$reason"} </code></pre></div>This code will work alot better :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Fri Jan 14, 2005 7:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2005-01-14T07:29:57-04:00</updated>

		<published>2005-01-14T07:29:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45381#p45381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45381#p45381"/>
		<title type="html"><![CDATA[help with &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45381#p45381"><![CDATA[
however, i'd use [split] on $text first. <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=2617">arcane</a> — Fri Jan 14, 2005 7:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-01-14T04:01:28-04:00</updated>

		<published>2005-01-14T04:01:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45373#p45373</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45373#p45373"/>
		<title type="html"><![CDATA[help with &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45373#p45373"><![CDATA[
Here, this is mine. Favourably it is similar to your one which doesn't work, heh.<br><div class="codebox"><p>Code: </p><pre><code>bind pub n !kick kick_chanproc kick_chan {nick uhost hand chan text} { if {([botisop $chan]) &amp;&amp; ([onchan [lindex $text 0] $chan]) &amp;&amp; ([string length $text] &gt; 0)} { if {([lindex $text 1] != "")} { set reason "REQUESTED KICK: [lrange $text 1 end]" } if {([lindex $text 1] == "")} { set reason "KICKED: Requested by $nick" }  putquick "KICK $chan [lindex $text 0] :$reason" -next  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Jan 14, 2005 4:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2005-01-14T00:01:42-04:00</updated>

		<published>2005-01-14T00:01:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45365#p45365</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45365#p45365"/>
		<title type="html"><![CDATA[Re: help with &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45365#p45365"><![CDATA[
<blockquote class="uncited"><div>Hello there! I`m trying to make my script with public commands, but i have problem with the kick procedure.<br>This is my procedure:<div class="codebox"><p>Code: </p><pre><code>### Kick ###bind pub o .k pub_kickproc pub_kick {nick uhost hand chan txt} {  set opc_knick [lindex $txt 0]  set opc_kreason [lrange $txt 1 end][snip]</code></pre></div>It can`t reconize nicks with ""<br>Can someone explain me how to repair my script?</div></blockquote><a href="http://forum.egghelp.org/viewtopic.php?t=2603" class="postlink">http://forum.egghelp.org/viewtopic.php?t=2603</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Fri Jan 14, 2005 12:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[e-force]]></name></author>
		<updated>2005-01-13T23:29:21-04:00</updated>

		<published>2005-01-13T23:29:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45364#p45364</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45364#p45364"/>
		<title type="html"><![CDATA[help with &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45364#p45364"><![CDATA[
Hello there! I`m trying to make my script with public commands, but i have problem with the kick procedure.<br>This is my procedure:<blockquote class="uncited"><div>### Kick ###<br>bind pub o .k pub_kick<br>proc pub_kick {nick uhost hand chan txt} {<br>  set opc_knick [lindex $txt 0]<br>  set opc_kreason [lrange $txt 1 end]<br>  if [matchattr $opc_knick b] {<br>  putserv "PRIVMSG $chan :This is not allowed!"<br>  return 0<br>  }<br>  if {![onchan $opc_knick $chan]} {<br>    putserv "notice $nick :$opc_knick is not on $chan"<br>    return 0<br>  }<br>  if {$opc_kreason == ""} {<br>    putserv "kick $chan $opc_knick :Requested by $nick"<br>    return 0<br>  }<br>  putserv "kick $chan $opc_knick :$opc_kreason"<br>}</div></blockquote>When i try to .k nick\something my bot give a mistake: <br>[04:41] &lt;e-force&gt; .k e-f\test<br>[04:41] -SpeeD_- e-fest is not on #SpeeD_<br>[04:41] &lt;e-force&gt; [04:41] -SpeeD_- e-fest is not on #SpeeD_<br>It can`t reconize nicks with "\"<br>Can someone explain me how to repair my script?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5860">e-force</a> — Thu Jan 13, 2005 11:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
