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.

Script to set user flags

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
c
chadrt
Voice
Posts: 33
Joined: Sun Mar 19, 2006 4:37 pm

Script to set user flags

Post by chadrt »

I am looking for a script that I can set user flags with, without having to enter the partyline. I have tried FzCommands and the chattr function is totally messed up, funny that if you make a mistake it tells you the proper syntax for the invite command, weird. I tried several things. Also when that script was loaded the regular op and halfop command built into the eggdrop was messed up and would not function. Any help would be great!

And I am open to using the Fz script if someone knows how to make it interact properly. Maybe a version issue or something. I dnont know.

Sincerely,
Chad
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

!chattr nick/user:<nick/user> <+/-flags>
means, if you want to change the flags of a nick who you know has a valid handle in your bot then use:
!chattr nick:Sam +f
Sam is the nick of the user whose flags you want to change, if the bot does not recognize him or the nick is not in the channel; it'll tell you.

If you want to change the flags of a handle then use:
!chattr user:Fz +f
Fz is the handle and NOT the nick on the channel, if it doesn't exist; the bot will tell you.

The reason I've done it like this is not to conflict with nick or handle when using the command. And about the 'invite' thingie, that's a copy-paste mistake, you can change it from inside the script :lol:
c
chadrt
Voice
Posts: 33
Joined: Sun Mar 19, 2006 4:37 pm

Post by chadrt »

Thank you so much! I appreciate your help with that. It is working great now. Except for the whole op password thing wont work right now that the script is installed. But I think I can work around that one with another script.

Thanks again,
Chad
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

chadrt wrote:Thank you so much! I appreciate your help with that. It is working great now. Except for the whole op password thing wont work right now that the script is installed. But I think I can work around that one with another script.

Thanks again,
Chad
What op password thing?
c
chadrt
Voice
Posts: 33
Joined: Sun Mar 19, 2006 4:37 pm

Post by chadrt »

What op password thing?
It appears that when the script is installed the built in op function of eggdrop the one where you type op passwd and the bot op's you doesnt work anymore. However I found a way around that that is working to my likeing.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

That's because I 'return 1' in the op's pub bind. But you can just msg the bot op #channel, and it'll op you (if you're authenticated). Just so you would know :)
Post Reply