This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Mathing nick from Names-list!?

Old posts that have not been replied to for several years.
Locked
T
TC^

Mathing nick from Names-list!?

Post by TC^ »

I'm having a huge problem figuring out how i can make my bot "scan" a channel it's not on, for det names currently on that channel...

Kind of the same as /names #channel

The idea is for the bot to get the info on who is on a certain channel, and then react if a certain nick is on that channel.

For instance...

- I setup the TCL Script to scan for the nickname: "Blacklisted"
- I trigger !scanjoin #somechannel
- The bot checks #somechannel for the names currently on that channel, without joining it!
- If one nick matches "Blacklisted", the bot runs one procedure, if not it runs another...


Simple as that :D

Hope somebody can help :wink:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You will need to lookup the usage of the RAW bind, and look in RFC 1459 to locate the correct information on whatt he /names command returns.

What you are trying to do is flawed though.

If a user has a usermode of +i, there nickname will not show up in the rerurned list.

On top of this again, if the channels has mode +s set, then the list will not be returned at all.

The only time the above if faulse, is when you are on the channel in question.
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

Most irc networks actually dont allow this to be done without a user being on a channel.

the mirc command /who #channel usually performs this command, but due to it being used by DoSers it has been taken off on most networks, unless you are actually in that channel.

I know aniverse has done this.... bastards.
T
TC^

Post by TC^ »

ppslim wrote:You will need to lookup the usage of the RAW bind, and look in RFC 1459 to locate the correct information on whatt he /names command returns.

What you are trying to do is flawed though.

If a user has a usermode of +i, there nickname will not show up in the rerurned list.

On top of this again, if the channels has mode +s set, then the list will not be returned at all.

The only time the above if faulse, is when you are on the channel in question.
Well the network is Quakenet, and the only two users i'm interested in cheking for are the Quakenet services "L" and "Q" and they aren't +i

But offcause, if the channel is +s, the bot won't have a chance without beign on the channel. The bot simply has to react on that with another procedure.

But thanks for the help.. To both of you.. I'll see if I can make it happen ;)
Locked