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.

question

Old posts that have not been replied to for several years.
Locked
v
vork3
Voice
Posts: 19
Joined: Sun Aug 17, 2003 1:19 pm
Contact:

question

Post by vork3 »

is there a script that checks if the user is in the config for that chan and gives it a halfop if thats treu.
like
chan: Botscentral
users: Eef, Game-Time, Steffie

if one off these users join they will get a % (halfop) from Blade
could someone help me with this?
thanks
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

.+user Steffie *!some@*.hostmask
.chattr Steffie +ly #Botscentral
Elen sila lúmenn' omentielvo
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

this is from the 1.6.13 conf file

# autohalfop
# Halfop users with the +l flag as soon as they join the channel?
# This is insecure because there is no password and not recommended.
#
# protecthalfops
# Re-halfop a user with the +l flag if they get dehalfopped?
#

in the conf file change:

channel set #Botscentral +autohalfop -greet

then set users +l and type .rehash (at the console)

===================================

Or add all changes from the console.

[change flags]
chattr <handle> [changes [channel]]
Description: changes the attributes for a user record, if you include any. Changes are of the form '+f', '-o', '+dk', '-o+d', etc. If changes are specified in the format of | , the channel-specific flags for that channel are altered. You can now use the +o|-o #channel format here too.
Returns: new flags for the user (if you made no changes, the current flags are returned). If a channel was specified, the global AND the channel-specific flags for that channel are returned in the format of globalflags|channelflags. "*" is returned if the specified user does not exist


channel set <name> <options...>
Description: sets options for the channel specified. The full list of possible options are given in doc/settings.mod.channels.
Returns: nothing

Note: Check the info in your conf file and in the docs section of your eggdrop, this will answer many of your questions.
I once was an intelligent young man, now i am old and i can not remember who i was.
Locked