View previous topic :: View next topic |
Author |
Message |
taxick Voice
Joined: 12 Jul 2007 Posts: 24
|
Posted: Mon Jul 12, 2021 8:04 am Post subject: |
|
|
caesar wrote: | No, i meant I was working on something else where had implemented something similar and did a copy/paste without actually thinking.
Anyway, how do you check if someone has his nickname registered/logged in with NickServ? |
Ahh okay.. I misunderstood you 
Last edited by taxick on Mon Jul 12, 2021 1:00 pm; edited 1 time in total |
|
Back to top |
|
 |
DasBrain Voice
Joined: 08 Apr 2021 Posts: 12
|
Posted: Mon Jul 12, 2021 8:54 am Post subject: |
|
|
caesar wrote: | Anyway, how do you check if someone has his nickname registered/logged in with NickServ? | Depends.- Nick is registered (but you don't care if they logged in): Ask NickServ.
- If you share a common channel, and the network has account-notify and extended join, you can use that info. (eggdrop 1.9 keeps track of the account name in that case)
- If the network has WHOX (advertised in the 005 isupport numeric), then you can do a /who on the nick and see if the account name is != 0.
- On some networks you can see if someone is logged in by looking at their /who flags - if they have the r flag, they are logged in.
- As a last resort - ask NickServ. Many NickServ implementations have a /ns status NICK command, which can be somewhat easily scripted.
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|