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 

proc for mode checking

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Lupo
Voice


Joined: 20 Dec 2008
Posts: 17

PostPosted: Mon Dec 29, 2008 2:14 pm    Post subject: proc for mode checking Reply with quote

does anybody have a proc for user mode checking? preferably something similar than the builtin isop and ishalfop (check returns one or zero)
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Dec 29, 2008 3:09 pm    Post subject: Reply with quote

What exactly are you looking for?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Lupo
Voice


Joined: 20 Dec 2008
Posts: 17

PostPosted: Mon Dec 29, 2008 3:11 pm    Post subject: Reply with quote

its to be able to do checks if someone are admins or owners of channels... (unrealircd). it should be possible by using /who or /whois but i don't know how to do this. afaik, eggdrop has no builtin isowner or isadmin commands.
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Mon Dec 29, 2008 4:10 pm    Post subject: Reply with quote

You can only check public modes... such as +o and etc. User modes are private, such as +i and +w etc.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Lupo
Voice


Joined: 20 Dec 2008
Posts: 17

PostPosted: Mon Dec 29, 2008 4:11 pm    Post subject: Reply with quote

ok... can someone make me a proc to check public modes then?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Dec 31, 2008 3:41 am    Post subject: Reply with quote

If this info is returned using /who or /whois then you need to supply more information such as the raw numbers and the format of the replies on the ircd.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Lupo
Voice


Joined: 20 Dec 2008
Posts: 17

PostPosted: Wed Dec 31, 2008 7:37 am    Post subject: Reply with quote

Thommey of tclhelp.net provided me the code for isowner and isadmin routines for unrealircd. If anyone else is interested, I will bundle them with my public commands script when it's final (really getting close now), and these functions will also be available in the upcoming eggdrop 10.6.20.

Sir_Fz : kindly check my follow up post in my other thread for the !warn command. Thank you. Very Happy
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 -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
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