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.
The trouble doesn't come from the script but your autocompletion adds weird codes (colors ?)
Change the way it works. I don't know which irc client you use, but this one must be trashed quick
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
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
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
wich i use as well
Hello again, the nick without color would be this: [-->nIks<--] and when the nickcompletion colors it, it would be like this: 12[10-11-3>02n02I02k02s3<11-10-12]
set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]
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
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
its best to fix this on client level
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
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 thanks again for the help.
PD: hi SpiKe^^ sorry for not greeting you friend