In my IRC Bot, there are some commands that I want to only be usable by me, and I want to check to make sure that anyone using my name is identified with nickserv (idented). I couldn't, however, find an easy way to determine this, which is why I'm here.
Freenode and Rizon are the primary target networks, if that matters.
Edit: I was actually aware of the various usermodes for idented users (although I didn't pay enough attention to realize that they differ!); sorry for not mentioning that before. The raw response that I get from a user, however, doesn't include their usermodes; it looks something like this:
:[email protected] PRIVMSG #erasmus-testing :foo
I suppose, then, that I'm trying to find a way (with various ircds, grr) to get those flags. If, as someone mentioned, Rizon returns whether or not someone is idented in a WHOIS query, then that's the sort of thing I'm looking for.
You can issue the command who #channel , which will list the users currently in the named channel.
Anonymity is the main one: you can use IRC servers anywhere, or set up your own, rather than be tied in to centralised messengers. you don't need any personal data tied to your IRC account, so tracing you is next to impossible.
Let's join the #hackland channel with the command /join #hackland. And we could start chatting. IRC has a long history in the hacking world. It has been widely used in the hacktivist world, being the main communication channel for many hacker groups.
On freenode, sending a private message to nickserv with the message ACC <nickname>
will return a number that indicates the user's ident status:
The answer is in the form
<nickname> ACC <digit>
:0 - account or user does not exist 1 - account exists but user is not logged in 2 - user is not logged in but recognized (see ACCESS) 3 - user is logged in
The STATUS <nickname>
command gives similar results on Rizon:
The response has this format:
<nickname> <digit>
0 - no such user online or nickname not registered 1 - user not recognized as nickname's owner 2 - user recognized as owner via access list only 3 - user recognized as owner via password identification
The advantages that this method has over a WHOIS:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With