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

	<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>2022-12-14T13:45:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[flink]]></name></author>
		<updated>2022-12-14T13:45:06-04:00</updated>

		<published>2022-12-14T13:45:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111560#p111560</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111560#p111560"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111560#p111560"><![CDATA[
I understand, I'll remove the characters from l nickcompletion and I'll just leave the colors since the eggdrop reads them perfectly and finished sooner and so I don't complicate your life with questions <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> thanks again for the help.<br>PD: hi SpiKe^^ sorry for not greeting you friend <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=12899">flink</a> — Wed Dec 14, 2022 1:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-12-14T13:34:26-04:00</updated>

		<published>2022-12-14T13:34:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111559#p111559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111559#p111559"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111559#p111559"><![CDATA[
and the mirc code i posted doesnt disable nickcompleter totally it only does when using !commands<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Dec 14, 2022 1:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-12-14T13:25:21-04:00</updated>

		<published>2022-12-14T13:25:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111558#p111558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111558#p111558"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111558#p111558"><![CDATA[
that will over complicate stuff as u add characters to nicks and then want eggdrop to strip all extra added characters while they can be part of a nick<br>its best to fix this on client level<br><br>im not sure what client you are using else i could edit it to send actuall nicks when using !commands and else output with nick completer<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Dec 14, 2022 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[flink]]></name></author>
		<updated>2022-12-14T13:20:19-04:00</updated>

		<published>2022-12-14T13:20:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111557#p111557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111557#p111557"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111557#p111557"><![CDATA[
Good Simo, yes apparently adding to the code<div class="codebox"><p>Code: </p><pre><code>set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]</code></pre></div>It does recognize colors, but the ones eggdrop doesn't recognize are characters such as \\\[\]\{\} etc. The contribution of the second code for the mIrc would be the same as deactivating the nickcompletion addons, the idea that the same code for the mIrc would be put in the eggdrop so that it could read them.Thanks again for the contribution<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12899">flink</a> — Wed Dec 14, 2022 1:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-12-14T12:46:02-04:00</updated>

		<published>2022-12-14T12:46:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111556#p111556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111556#p111556"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111556#p111556"><![CDATA[
if u use mirc my above example code should work fine<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Dec 14, 2022 12:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[flink]]></name></author>
		<updated>2022-12-14T12:41:12-04:00</updated>

		<published>2022-12-14T12:41:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111555#p111555</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111555#p111555"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111555#p111555"><![CDATA[
Hello again, the nick without color would be this: [--&gt;nIks&lt;--]  and when the nickcompletion colors it, it would be like this: 12[10-11-3&gt;02n02I02k02s3&lt;11-10-12] <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12899">flink</a> — Wed Dec 14, 2022 12:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-12-14T12:54:04-04:00</updated>

		<published>2022-12-14T12:40:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111554#p111554</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111554#p111554"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111554#p111554"><![CDATA[
oh ok then i have to agree with you CrazyCat such nick completer script shouldnt be used or edited to use actual nicks when using !commands<br>wich i use as well<br><br>for example for mirc :<br><div class="codebox"><p>Code: </p><pre><code>ON *:INPUT:#: {   if ($left($1,1) == /) || ($ctrlenter)  return     if ($left($1,1) == !) {  say  $1-  | halt  }   say  $regsubex($1-,/([\w-_`^\\\[\]\{\}|]+)/g,$iif(\1 $iif(\1 == $target,iswm,ison) $target,$+($chr(3),$base($gettok(00 08 09 11 15,$r(1,5),32),10,10,2),$chr(44),$base($gettok(1 2 3 5 6 10 12 14,$r(1,8),32),10,10,2),$chr(32)) $theme2011($pn2011(\1, $chan)) $chr(32)  , \1)))  halt}ALIAS theme2011 { return $1 }ALIAS -l pn2011 {  if ($len($nick($2,$1).pnick) != $len($1)) {    var %nick $+($left($nick($2,$1).pnick,1),$1)    return  %nick  }  else return $nick }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Dec 14, 2022 12:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-12-14T10:51:23-04:00</updated>

		<published>2022-12-14T10:51:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111553#p111553</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111553#p111553"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111553#p111553"><![CDATA[
Looks like he tested with [--&gt;nIcks&lt;--]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Dec 14, 2022 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-12-14T10:34:01-04:00</updated>

		<published>2022-12-14T10:34:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111552#p111552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111552#p111552"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111552#p111552"><![CDATA[
perhaps you could give examples of nick with nickcompleter and the actual real nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Dec 14, 2022 10:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-12-14T10:29:44-04:00</updated>

		<published>2022-12-14T10:29:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111551#p111551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111551#p111551"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111551#p111551"><![CDATA[
try this it strips color codes from text but if your nickcompleter adds additional characters it wont work its not clear to me what real nickname you tried to op<br><br><div class="codebox"><p>Code: </p><pre><code>#  remoteOp ver. 0.1  ####  for example: !op #radio pepe, thanks  ######  or: !op #springfield bart lisa homer  ###set adminChan "#admin"  ;# !!! Set a single admin channel !!! ################################bind pub n !xor Xpub_remote_opXproc Xpub_remote_opX {nick uhost hand chan text} {  if {![string equal -nocase $chan $::adminChan]} {  return 0  }  set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]  set wholist [lassign [split [string trim $text]] where]  if {![llength $wholist] || ![validchan $where]} {    putserv "PRIVMSG $chan :Command syntax:  \002!op #validchannel nick(s)\002"   return 1  }  if {![botisop $where]} {    putserv "PRIVMSG $chan :I'm not op'd in ${where}. I need to be op'd to do that."    return 1  }  foreach nk $wholist {    if {[isbotnick $nk]} {  set self 1    } elseif {![onchan $nk $where]} {  lappend gone $nk    } elseif {[isop $nk $where]} {  lappend iso $nk    } else {  lappend ok $nk  }  }  if {[info exists self]} {  putserv "PRIVMSG $chan :I can't op myself:)."  }  if {[info exists gone]} {    putserv "PRIVMSG $chan :Not found in ${where}:  \002[join $gone]\002"  }  if {[info exists iso]} {    putserv "PRIVMSG $chan :Already op'd in ${where}:  \002[join $iso]\002"  }  if {[info exists ok]} {    set mode [string repeat "o" [llength $ok]]    putserv "MODE $where +$mode [set ok [join $ok]]"    putserv "PRIVMSG $chan :Op'd \002${ok}\002 in ${where}."    putlog "$nick made me op $ok in ${where}."  }  return 1}#End of pub_remote_op</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Dec 14, 2022 10:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2022-12-14T10:23:42-04:00</updated>

		<published>2022-12-14T10:23:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111550#p111550</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111550#p111550"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111550#p111550"><![CDATA[
flink<br><br>I might try to help if I had any idea what you were talking about:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Wed Dec 14, 2022 10:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[flink]]></name></author>
		<updated>2022-12-14T10:15:37-04:00</updated>

		<published>2022-12-14T10:15:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111549#p111549</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111549#p111549"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111549#p111549"><![CDATA[
Thanks for answering CrazyCat, I thought there was a way in which the bot would pay attention when we write in colors, in this case it's a nickcomletion addons that write it anywhere in the sentence, the answer doesn't solve my question, thanks anyway for participation. I stay in the same situation with the one that entered does not work in colors <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=12899">flink</a> — Wed Dec 14, 2022 10:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-12-14T09:49:25-04:00</updated>

		<published>2022-12-14T09:49:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111547#p111547</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111547#p111547"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111547#p111547"><![CDATA[
The trouble doesn't come from the script but your autocompletion adds weird codes (colors ?)<br>Change the way it works. I don't know which irc client you use, but this one must be trashed quick <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=691">CrazyCat</a> — Wed Dec 14, 2022 9:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[flink]]></name></author>
		<updated>2022-12-14T08:19:20-04:00</updated>

		<published>2022-12-14T08:19:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111546#p111546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111546#p111546"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111546#p111546"><![CDATA[
Hello CrazyCat, thanks for answering, I thought it was understood, since I return to the topic of something you requested at the time and SpiKe^^ created me and let it work and now I have the problem that you say that it does not recognize when I use the nickcompletion anywhere from the phrase that is the help I request, even so I paste the code and what happens to me when I try to op some user in a room where the bot is @ thanks again.<br><div class="codebox"><p>Code: </p><pre><code>#  remoteOp ver. 0.1  ####  for example: !op #radio pepe, thanks  ######  or: !op #springfield bart lisa homer  ###set adminChan "#admin"  ;# !!! Set a single admin channel !!! ################################bind pub n !op pub_remote_opproc pub_remote_op {nick uhost hand chan text} {  if {![string equal -nocase $chan $::adminChan]} {  return 0  }  set wholist [lassign [split [string trim $text]] where]  if {![llength $wholist] || ![validchan $where]} {    putserv "PRIVMSG $chan :Command syntax:  \002!op #validchannel nick(s)\002"    return 1  }  if {![botisop $where]} {    putserv "PRIVMSG $chan :I'm not op'd in ${where}. I need to be op'd to do that."    return 1  }  foreach nk $wholist {    if {[isbotnick $nk]} {  set self 1    } elseif {![onchan $nk $where]} {  lappend gone $nk    } elseif {[isop $nk $where]} {  lappend iso $nk    } else {  lappend ok $nk  }  }  if {[info exists self]} {  putserv "PRIVMSG $chan :I can't op myself:)."  }  if {[info exists gone]} {    putserv "PRIVMSG $chan :Not found in ${where}:  \002[join $gone]\002"  }  if {[info exists iso]} {    putserv "PRIVMSG $chan :Already op'd in ${where}:  \002[join $iso]\002"  }  if {[info exists ok]} {    set mode [string repeat "o" [llength $ok]]    putserv "MODE $where +$mode [set ok [join $ok]]"    putserv "PRIVMSG $chan :Op'd \002${ok}\002 in ${where}."    putlog "$nick made me op $ok in ${where}."  }  return 1}#End of pub_remote_op</code></pre></div><ul><li>@canario- ¦ !op #ChiCharrEroS 12[ 10- 11- 3&gt; 12n 12I 12k 12s 3&lt; 11- 10- 12]<br>radioangelcaido(<a href="mailto:RAcaidos@la.m">RAcaidos@la.m</a>úsica.es.ese.lugar.en.el.que.todos. coincidemos.alguna.vez)- No se encuentra en #ChiCharrEroS: 12[ 10- 11- 3&gt; 12n 12I 12k 12s 3&lt; 11- 10- 12]</li></ul><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12899">flink</a> — Wed Dec 14, 2022 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-12-13T19:23:21-04:00</updated>

		<published>2022-12-13T19:23:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111542#p111542</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111542#p111542"/>
		<title type="html"><![CDATA[to raise ops in any room where the bot is]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111542#p111542"><![CDATA[
without your script, we can not help you.<br>Talk to my crystal bowl or show us your code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Dec 13, 2022 7:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
