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

	<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-23T12:11:50-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-07-23T12:11:50-04:00</updated>

		<published>2005-07-23T12:11:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53081#p53081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53081#p53081"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53081#p53081"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {($text == "") || ([llength $text] == 0) } { </code></pre></div>These are the exact same, why would you be checking them both?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sat Jul 23, 2005 12:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mrdr]]></name></author>
		<updated>2005-07-23T08:51:33-04:00</updated>

		<published>2005-07-23T08:51:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53070#p53070</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53070#p53070"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53070#p53070"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>I want when I write !deop bot deops me. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_neutral.gif" width="15" height="15" alt=":|" title="Neutral"><br>If I write nick after !deop bot will deop that nick.</div></blockquote>Try <a href="http://hub.nexushells.net/~Fz/fzcommands3.0.zip" class="postlink">FzCommands</a>.</div></blockquote>Thank You, nice script. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6362">mrdr</a> — Sat Jul 23, 2005 8:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-23T04:46:34-04:00</updated>

		<published>2005-07-23T04:46:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53068#p53068</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53068#p53068"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53068#p53068"><![CDATA[
<blockquote class="uncited"><div>I want when I write !deop bot deops me. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_neutral.gif" width="15" height="15" alt=":|" title="Neutral"><br>If I write nick after !deop bot will deop that nick.</div></blockquote>Try <a href="http://hub.nexushells.net/~Fz/fzcommands3.0.zip" class="postlink">FzCommands</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jul 23, 2005 4:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Decl]]></name></author>
		<updated>2005-07-23T04:17:27-04:00</updated>

		<published>2005-07-23T04:17:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53067#p53067</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53067#p53067"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53067#p53067"><![CDATA[
See the LoL's Toolz :p quite useful commands there, plus !op &amp; !deop work without entering a nickname.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6476">Decl</a> — Sat Jul 23, 2005 4:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-23T02:07:10-04:00</updated>

		<published>2005-07-23T02:07:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53063#p53063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53063#p53063"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53063#p53063"><![CDATA[
public kick/mode commands are lame anyway<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jul 23, 2005 2:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-23T02:03:49-04:00</updated>

		<published>2005-07-23T02:03:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53062#p53062</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53062#p53062"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53062#p53062"><![CDATA[
<blockquote class="uncited"><div>I want when I write !deop bot deops me. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_neutral.gif" width="15" height="15" alt=":|" title="Neutral"><br>If I write nick after !deop bot will deop that nick.</div></blockquote><div class="codebox"><p>Code: </p><pre><code>proc pub:deop {nick uhost hand chan text} {   set who [lindex [split $text] 0] ;# who to deop?   if {$who == ""} {                ;# no argument given, deop command's issuer      if [isop $nick $chan] {pushmode $chan -o $nick}   } else {                         ;# deop $who      if [isop $who $chan] {pushmode $chan -o $who}   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jul 23, 2005 2:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mrdr]]></name></author>
		<updated>2005-07-22T20:20:54-04:00</updated>

		<published>2005-07-22T20:20:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53058#p53058</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53058#p53058"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53058#p53058"><![CDATA[
Well... <br>(03:16:56) (@mrdr) !devoice<br>(03:16:57)  ›› [ egghelp (~<a href="mailto:buy@weed.lt">buy@weed.lt</a>) ] Please enter a nick to devoice.<br>(03:17:06) (@mrdr) !deop<br>(03:17:06)  ›› [ egghelp (~<a href="mailto:buy@weed.lt">buy@weed.lt</a>) ] Please enter a nick to deop.<br><br>I want when I write !deop bot deops me. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_neutral.gif" width="15" height="15" alt=":|" title="Neutral"><br>If I write nick after !deop bot will deop that nick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6362">mrdr</a> — Fri Jul 22, 2005 8:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-07-22T19:38:49-04:00</updated>

		<published>2005-07-22T19:38:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53057#p53057</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53057#p53057"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53057#p53057"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub o|o !deop pub:op proc pub:op {nick uhost hand chan text} {   if {![botisop $chan]} {    putserv "NOTICE $nick :Im not oped on $chan."    return 0  }   if {![llength $text] &gt;= 1} {    putserv "NOTICE $nick :Please enter a nick to deop."    } else {    set tnick [lindex [split $text] 0]    if {![onchan $tnick $chan]} {       putserv "NOTICE $nick :$tnick is not on $chan."      return 0    }    if {![isop $tnick $chan]} {      putserv "NOTICE $nick :$tnick is not oped on $chan."      } else {      pushmode $chan -o $tnick     }   }}     bind pub o|o !devoice pub:dv proc pub:dv {nick uhost hand chan text} {  if {![botisop $chan]} {    putserv "NOTICE $nick :Im not oped on $chan."    return 0  }   if {![llength $text] &gt;= 1} {    putserv "NOTICE $nick :Please enter a nick to devoice."    } else {    set tnick [lindex [split $text] 0]    if {![onchan $tnick $chan]} {       putserv "NOTICE $nick :$tnick is not on $chan."      return 0    }    if {![isvoice $tnick $chan]} {      putserv "NOTICE $nick :$tnick is not voiced on $chan."      } else {      pushmode $chan -v $tnick     }   }}   putlog "*** test.tcl - LOADED!"</code></pre></div>Try that...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Fri Jul 22, 2005 7:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mrdr]]></name></author>
		<updated>2005-07-22T19:21:19-04:00</updated>

		<published>2005-07-22T19:21:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53056#p53056</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53056#p53056"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53056#p53056"><![CDATA[
I'm sure that you're tired, I'm too. I will die with my rollerblades. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><br><br>Well your script don't work. Or I made mistakes AGAIN. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Here's the code:<div class="codebox"><p>Code: </p><pre><code>bind pub o deop pub:opproc pub:op {nick uhost hand chan text} {  if {[botisop $chan] == 1} {     if {[llength $text] &gt;= 1} { set tnick [lindex [split $text] 0]      set tnick [lindex [split $text] 0]      if {[onchan $tnick $chan]} {        if {[isop $tnick $chan]} { pushmode $chan -o $tnick }       } else { puthelp "NOTICE $nick :No such nick!" }    } else { puthelp "NOTICE $nick :Usage: deop &lt;nick&gt;" }  } else { puthelp "NOTICE $nick :I don't have ops!" } }}bind pub o devoice pub:dvproc pub:dv {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[llength $text] &gt;= 1} { set tnick [lindex [split $text] 0]      set tnick [lindex [split $text] 0]      if {[onchan $tnick $chan]} {        if {[isvoice $tnick $chan]} { pushmode $chan -v $tnick }      } else { puthelp "NOTICE $nick :No such nick!" }    } else { puthelp "NOTICE $nick :Usage: devoice &lt;nick&gt;" }  } else { puthelp "NOTICE $nick :I don't have ops!" }}putlog "*** test.tcl - LOADED!"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6362">mrdr</a> — Fri Jul 22, 2005 7:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-07-22T19:02:26-04:00</updated>

		<published>2005-07-22T19:02:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53055#p53055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53055#p53055"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53055#p53055"><![CDATA[
firstly:<div class="codebox"><p>Code: </p><pre><code>if {[string length $text] &gt; 0} { </code></pre></div>is incorrect, use<div class="codebox"><p>Code: </p><pre><code>if {[llength $text] &gt;= 1} { set tnick [lindex [split $text] 0]</code></pre></div><div class="codebox"><p>Code: </p><pre><code>set tnick [lindex $text 0]</code></pre></div>should be<div class="codebox"><p>Code: </p><pre><code>set tnick [lindex [split $text] 0]</code></pre></div>And are you saying if you type deop or devoice without any nick, you want the bot to deop/devoice yourself?<br><br>if yes:<div class="codebox"><p>Code: </p><pre><code>if {($text == "") || ([llength $text] == 0) } {set tnick $nickblah}</code></pre></div>Also<div class="codebox"><p>Code: </p><pre><code>if {[isop $tnick $chan]} { pushmode $chan -v $tnick } </code></pre></div>should be<div class="codebox"><p>Code: </p><pre><code>if {[isvoice $tnick $chan]} { pushmode $chan -v $tnick } </code></pre></div>Also, im so tired, i may have missed something or did something wrong. Just warning you ;p. Hope it works!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Fri Jul 22, 2005 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mrdr]]></name></author>
		<updated>2005-07-22T18:34:22-04:00</updated>

		<published>2005-07-22T18:34:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53054#p53054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53054#p53054"/>
		<title type="html"><![CDATA[need some help with this simple script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53054#p53054"><![CDATA[
Hey,<br><br>I'm sure that you know what this script does. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>And I want to make that when I write "deop" or "devoice" I don't need to write "devoice &lt;my nick&gt;" or "deop &lt;my nick&gt;"<br>I think it's smth like "if {[$tnick == $me]}" or smth... I don't know. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br>Here is the code:<br><div class="codebox"><p>Code: </p><pre><code>bind pub o deop pub:opproc pub:op {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[isop $tnick $chan]} { pushmode $chan -o $tnick }       } else { puthelp "NOTICE $nick :Tokio nicko kanale nera!" }    } else { puthelp "NOTICE $nick :Naudojimas: deop &lt;nick&gt;" }  } else { puthelp "NOTICE $nick :As neturiu opo!" }}bind pub o devoice pub:dvproc pub:dv {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[isop $tnick $chan]} { pushmode $chan -v $tnick }       } else { puthelp "NOTICE $nick :Tokio nicko kanale nera!" }    } else { puthelp "NOTICE $nick :Naudojimas: devoice &lt;nick&gt;" }  } else { puthelp "NOTICE $nick :As neturiu opo!" }}putlog "*** test.tcl - LOADED!"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6362">mrdr</a> — Fri Jul 22, 2005 6:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
