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

	<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>2008-02-22T20:27:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-02-22T20:27:58-04:00</updated>

		<published>2008-02-22T20:27:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81080#p81080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81080#p81080"/>
		<title type="html"><![CDATA[OPTools something wrong.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81080#p81080"><![CDATA[
Hey Manz..<br><br>Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>Work !!<br><br>all the problem solved <br><br>thanks. <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=8762">Nor7on</a> — Fri Feb 22, 2008 8:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MenzAgitat]]></name></author>
		<updated>2008-02-22T20:16:32-04:00</updated>

		<published>2008-02-22T20:16:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81079#p81079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81079#p81079"/>
		<title type="html"><![CDATA[OPTools something wrong.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81079#p81079"><![CDATA[
Simply remove the brackets in :<div class="codebox"><p>Code: </p><pre><code>[putserv "PRIVMSG X :ban $chan $maska 1 100 $reason"]</code></pre></div>and<div class="codebox"><p>Code: </p><pre><code>[putserv "PRIVMSG X :unban $chan $tnick"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7933">MenzAgitat</a> — Fri Feb 22, 2008 8:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-02-22T19:46:02-04:00</updated>

		<published>2008-02-22T19:46:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81077#p81077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81077#p81077"/>
		<title type="html"><![CDATA[OPTools something wrong.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81077#p81077"><![CDATA[
Hi.<br><br>I fix the tcl.. ufff its hard eh! xDD<br><div class="codebox"><p>Code: </p><pre><code>bind pub o .b pub:banbind pub o .ub pub:ubproc pub:ban {nick uhost hand chan text} {  if {[botisop $chan]} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[string length [lindex $text 1]] == 0} { set reason banned } else { set reason [lrange $text 1 end] }        newchanban $chan *!*@[lindex [split [getchanhost $tnick $chan] @] 1] $nick $reason 0set maska *!*@[lindex [split [getchanhost $tnick $chan] @] 1]        [putserv "PRIVMSG X :ban $chan $maska 1 100 $reason"]      } else { puthelp "notice $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !kb &lt;nick&gt; reason - kicks and bans a nick" }  } else { puthelp "NOTICE $nick :algo falla on" }}proc pub:ub {nick uhost hand chan text} {  if {[botisop $chan]} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0][putserv "PRIVMSG X :unban $chan $tnick"]      if {[ischanban $tnick $chan]} { killchanban $chan $tnick } else { puthelp "NOTICE $nick :no such ban on $chan" }    } else { puthelp "NOTICE $nick :usage !ub &lt;nick!user@host&gt; - unbans an address" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}</code></pre></div>this is the code. its work good <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> <br><br>but... y get this little message in the partyline when put .ub *!*@mask.<br><div class="codebox"><p>Code: </p><pre><code>&lt;(ScanSpam&gt; [00:44] Tcl error [pub:ub]: invalid command name ""&lt;Nor7on&gt; .set errorInfo&lt;(ScanSpam&gt; Currently: invalid command name ""&lt;(ScanSpam&gt; Currently:     while executing&lt;(ScanSpam&gt; Currently: "[putserv "PRIVMSG X :unban $chan $tnick"]"&lt;(ScanSpam&gt; Currently:     (procedure "pub:ub" line 5)&lt;(ScanSpam&gt; Currently:     invoked from within&lt;(ScanSpam&gt; Currently: "pub:ub $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"</code></pre></div>and this when put .b nick message.<br><div class="codebox"><p>Code: </p><pre><code>&lt;(ScanSpam&gt; [00:47] Tcl error [pub:ban]: invalid command name ""&lt;Nor7on&gt; .set errorInfo&lt;(ScanSpam&gt; Currently: invalid command name ""&lt;(ScanSpam&gt; Currently:     while executing&lt;(ScanSpam&gt; Currently: "[putserv "PRIVMSG X :ban $chan $maska 1 100 $reason"]"&lt;(ScanSpam&gt; Currently:     (procedure "pub:ban" line 9)&lt;(ScanSpam&gt; Currently:     invoked from within&lt;(ScanSpam&gt; Currently: "pub:ban $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"</code></pre></div>and can helpme for this tcl work when my eggdrop don't have the @ ?<br>..cause when my eggdrop don't have @ don't put ban/unban via X.<br><br>Thanks, <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=8762">Nor7on</a> — Fri Feb 22, 2008 7:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-02-22T14:35:29-04:00</updated>

		<published>2008-02-22T14:35:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81070#p81070</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81070#p81070"/>
		<title type="html"><![CDATA[OPTools something wrong.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81070#p81070"><![CDATA[
have a tcl or code with this function:<br><br>that my eggdrop add permban (if set 0) in your banlist and put too ban via X only for 1 hour. <br><br>example:<br>.ban Jolines 0 Spam<br>* X pone modo: +b *!*@92.81.80.136<br>* Jolines has KICKED by X ((myeggdropuser) Spam)<br><br>.ban &lt;nick&gt; &lt;perm or 0&gt; &lt;message&gt;<br>if set 0 = permban in the banlist of eggdrop.<br>and X only put ban for 1 hour.<br><br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Fri Feb 22, 2008 2:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2008-02-21T23:29:22-04:00</updated>

		<published>2008-02-21T23:29:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81048#p81048</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81048#p81048"/>
		<title type="html"><![CDATA[OPTools something wrong.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81048#p81048"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>puthelp "NOTICE $nick :.reguli   | Comanda poate fi executata si de useri obisnuiti!</code></pre></div>Should be<br><div class="codebox"><p>Code: </p><pre><code>puthelp "NOTICE $nick :.reguli   | Comanda poate fi executata si de useri obisnuiti!"</code></pre></div>infact it has many bugs such as:<br><div class="codebox"><p>Code: </p><pre><code>lenght</code></pre></div>should be:<div class="codebox"><p>Code: </p><pre><code>length</code></pre></div>I suggest you to find any other script like that from Archive<br><br>peace<br>death<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Thu Feb 21, 2008 11:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-02-21T18:53:22-04:00</updated>

		<published>2008-02-21T18:53:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81041#p81041</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81041#p81041"/>
		<title type="html"><![CDATA[OPTools something wrong.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81041#p81041"><![CDATA[
i have install this tcl. <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1157" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... ad&amp;id=1157</a><br><div class="codebox"><p>Code: </p><pre><code># Simple OP commands ... like op, voice, kick, ban ... but, it uses his access to Undernet X to op , deop, etc ...# Author : CBernetic# De modificatset access "Accesul la X"set durataban "durata in ore"# Nu modifica mai jos (doar daca stii tcl)bind pub o .h pub:hbind pub o .op pub:opbind pub o .vo pub:voicebind pub o .k pub:kickbind pub o .b pub:banbind pub o .ub pub:unbanbind pub - .reguli pub:regulibind notc - * noticeproc pub:h {nick uhost hand chan text} {puthelp "NOTICE $nick :Comenzi disponibile :"puthelp "NOTICE $nick :-"puthelp "NOTICE $nick :.op| Se foloseste si pentru deop :: Ex. : .op $me"puthelp "NOTICE $nick :.vo| Se foloseste si pentru devoice :: Ex. : .vo $me"puthelp "NOTICE $nick :.k| Ex. : .k Lamer out"puthelp "NOTICE $nick :.b| Ex. : .b Lamer out"puthelp "NOTICE $nick :.reguli| Comanda poate fi executata si de useri obisnuiti!puthelp "NOTICE $nick :.ub| Ex. : .ub *!*@Lamer.users.undernet.org"puthelp "NOTICE $nick :-"puthelp "NOTICE $nick :OPTools (c) 2005"}proc pub:op {nick uhost hand chan text} {if {[string lenght $text] &gt; 0} {set tnick [lindex $text 0]if {[onchan $tnick $chan]} {if {[isop $tnick $chan]} {puthelp "PRIVMSG X :deop $chan $tnick"}else {puthelp "PRIVMSG X:op $chan $nick"}}else {puthelp "NOTICE $nick :$tnick nu se afla pe $chan"}}else {puthelp "NOTICE $nick :Sintaxa incorecta!"puthelp "NOTICE $nick :Folositi .op nick"puthelp "NOTICE $nick :Ex. : .op Lamer"}}}proc pub:voice {nick uhost hand chan text} {if {[string lenght $text] &gt; 0} {set tnick [lindex $text 0]if {[onchan $tnick $chan]} {if {[isvoice $tnick $chan]} {puthelp "PRIVMSG X :devoice $chan $tnick"}else {puthelp "PRIVMSG X :voice $chan $tnick"}}else {puthelp "NOTICE $nick :$tnick nu se afla pe $chan"}}else {puthelp "NOTICE $nick :Sintaxa incorecta!"puthelp "NOTICE $nick :Folositi .vo nick"puthelp "NOTICE $nick :Ex. : .vo Lamer"}}}proc pub:kick {nick uhost hand chan text} {if ([string lenght $text] &gt; 0 {set tnick [lindex $text 0]if ([string lenght [lindex $text 1]] == 0} {puthelp "NOTICE $nick :Nu ati precizat un motiv pentru kick!"puthelp "NOTICE $nick :Folositi .k nick motiv"puthelp "NOTICE $nick :Ex. : .k Lamer out"}else {set reason [lrange $text 1 end]}if {[onchan $tnick $chan]} {puthelp "PRIVMSG X :kick $chan $tnick $reason"}else {puthelp "NOTICE $nick :$tnick nu se afla pe $chan"}else {puthelp "NOTICE $nick :Sintaxa incorecta!"puthelp "NOTICE $nick :Folositi .k nick motiv"puthelp "NOTICE $nick :Ex. : .k Lamer out"}}}proc pub:ban {nick uhost hand chan text} {if {[string lenght $text] &gt; 0} {set tnick [lindex $text 0]if {[onchan $tnick $chan]} {if {[string lenght [lindex $text 1]] == 0} {puthelp "NOTICE $nick :Nu ati precizat un motiv pentru kick!"puthelp "NOTICE $nick :Folositi .b nick motiv"puthelp "NOTICE $nick :Ex. : .b Lamer out"}else {set reason [lrange $text 1 end]}if {[onchan $tnick $chan]} {set maska *!*@[lindex [split [getchanhost $tnick $chan] "@"] 1]puthelp "PRIVMSG X :ban $chan $maska $durataban $access $reason}else {puthelp "NOTICE $nick :$tnick nu se afla pe $chan"}}else {puthelp "NOTICE $nick :Sintaxa incorecta!"puthelp "NOTICE $nick :Folositi .b nick motiv"puthelp "NOTICE $nick :Ex. : .b Lamer out"}}}proc pub:unban {nick uhost hand chan text} {if {[string lenght $text] &gt; 0} {set maska [lindex $text 0]puthelp "PRIVMSG X:unban $chan $maska"}else {puthelp "NOTICE $nick :Sintaxa incorecta!"puthelp "NOTICE $nick :Folositi .ub maska"puthelp "NOTICE $nick :Ex. : .ub *!*@Lamer.users.undernet.org"}}}proc pub:reguli {nick chan text} {puthelp "NOTICE $nick :O lista a regulilor canalului $chan o puteti gasi pe adresa :"puthelp "NOTICE $nick :http://www.irc-iasi.com/inv/index.php?showtopic=14"}proc notice { from keyword text nick text} {if { $from == "X!cservice@undernet.org" } {set noticetextputhelp "NOTICE $nick $nick $noticetext"}else {return 0}}putlog "OPTools loaded ... (c) 2005 CBernetic"</code></pre></div>when i put .rehash, crash.<br>so i use the script:<br><div class="codebox"><p>Code: </p><pre><code>set error ""foreach script {OPTools.tcl} {catch {source scripts/$script} errorif {$error != ""} {putcmdlog "\002SCRIPT ERROR\002:$script\: $::errorInfo"}}</code></pre></div>and run the eggdrop and the script OPTools get me error.<br><div class="codebox"><p>Code: </p><pre><code>&lt;(ScanSpam&gt; [23:52] Tcl error [notice]: invalid command name "notice"</code></pre></div>and<br><div class="codebox"><p>Code: </p><pre><code>&lt;Nor7on&gt; .set errorInfo&lt;(ScanSpam&gt; Currently: invalid command name "notice"&lt;(ScanSpam&gt; Currently:     while executing&lt;(ScanSpam&gt; Currently: "notice $_notc1 $_notc2 $_notc3 $_notc4 $_notc5"</code></pre></div>can helpme?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Thu Feb 21, 2008 6:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
