egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Solbu's Slowvoice
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
taxick
Voice


Joined: 12 Jul 2007
Posts: 21

PostPosted: Mon Jul 12, 2021 8:04 am    Post subject: Reply with quote

caesar wrote:
No, i meant I was working on something else where had implemented something similar and did a copy/paste without actually thinking. Rolling Eyes

Anyway, how do you check if someone has his nickname registered/logged in with NickServ?


Ahh okay.. I misunderstood you Smile


Last edited by taxick on Mon Jul 12, 2021 1:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
DasBrain
Voice


Joined: 08 Apr 2021
Posts: 12

PostPosted: Mon Jul 12, 2021 8:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber