| View previous topic :: View next topic |
| Author |
Message |
Arnold_X-P Master

Joined: 30 Oct 2006 Posts: 221 Location: DALnet - Trinidad - Beni - Bolivia
|
Posted: Sat Apr 18, 2015 4:01 pm Post subject: hi |
|
|
hi caesar
it is possible to add to the tcl a part where the bot should ignore the ircop
my ircops change of vhost and for error they of assistance
I would like to know if it is possible to add a section where the tcl should ignore or should exclude to the ircops in general
 _________________
thanks to that they help, that others learn  |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sun Apr 19, 2015 6:00 am Post subject: |
|
|
@abah: haven't checked the latest code but should work. You get any errors?
@Arnold_X-P: Is there any other way to know who's ircop apart whois? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Arnold_X-P Master

Joined: 30 Oct 2006 Posts: 221 Location: DALnet - Trinidad - Beni - Bolivia
|
Posted: Sun Apr 19, 2015 11:50 am Post subject: Re: help please tcl of no idles |
|
|
I was referring that the bot ignores or excludes an ircop when between to the channel using /whois nick.
Saul is an IRC Operator _________________
thanks to that they help, that others learn  |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Mon Apr 20, 2015 1:21 am Post subject: |
|
|
After a bit of digging looks like IRC raw numeric unfortunately aren't standardized so while on Undernet I get this on raw 330 on your IRC Network can be something else. So, if you got a mIRC client do this command in status window:
and then whois a ircop and copy/paste the line that says "user is an IRC Operator" from this @bla window. Then it's safe to close it. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Arnold_X-P Master

Joined: 30 Oct 2006 Posts: 221 Location: DALnet - Trinidad - Beni - Bolivia
|
Posted: Mon Apr 20, 2015 11:46 pm Post subject: |
|
|
I was not referring to that.
is he that the tcl ignores to ircops that it detects in the channel
using one /whois nick
something similar to this:
| Code: |
bind raw - "302" IRCopScan302
proc IRCopScan302 {from key text} {
global operscan scanoperchan
set text "[lindex $text 1]"
set nick [lindex [split "$text" :=*] 1]
if {($operscan(start)) && ([info exists scanoperchan($nick)]) && ([string match *\\* [lindex [split "$text" =] 0]])} {
set chan $scanoperchan($nick)
|
_________________
thanks to that they help, that others learn  |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Apr 21, 2015 1:01 am Post subject: |
|
|
Then the raw I was looking for is actually 313 (like it says on RAW Events Reference), not 302.
| Quote: |
<- :underworld.se.eu.dal.net 313 cez SaD :is an IRC Operator - Services Administrator
<- :MustyHay.eu.ix.Undernet.org 313 cez Buster :is an IRC Operator
|
For future reference if others look for something similar then instead of doing a whois on a each member of a channel you can use "/who 0 o" and will get a list of ircops that are at least on one channel as you. The result will be in a raw 352.
But there's a catch.. the output will have the last channel you joined where one ircop is on, so it doesn't mean he's only on that channel. But, as long as we got his name is more than enough to get all common channels or whatnot. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Arnold_X-P Master

Joined: 30 Oct 2006 Posts: 221 Location: DALnet - Trinidad - Beni - Bolivia
|
Posted: Sat May 09, 2015 12:10 am Post subject: |
|
|
caesar
it is possible that the tcl ignores all the ircops that are in the channel
example:
that the noidle tcl is employed at the channel #help and there all the ircops are with different vhost and the same tcl ignores them..
it is possible that the tcl ignores all the ircops that are in certain channel??
thanks _________________
thanks to that they help, that others learn  |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sat May 09, 2015 1:53 am Post subject: |
|
|
Hi,
sure. Been a bit busy with work lately and didn't had time to finish what I started. Will get back to you later on today hopefully. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
|