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 

Script to set user flags

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


Joined: 19 Mar 2006
Posts: 33

PostPosted: Mon Mar 20, 2006 11:59 pm    Post subject: Script to set user flags Reply with quote

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
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Mar 21, 2006 10:13 am    Post subject: Reply with quote

Quote:
!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:
Quote:
!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:
Quote:
!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 Laughing
_________________
Follow me on GitHub

- Opposing

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


Joined: 19 Mar 2006
Posts: 33

PostPosted: Tue Mar 21, 2006 8:04 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Mar 21, 2006 10:04 pm    Post subject: Reply with quote

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?
_________________
Follow me on GitHub

- Opposing

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


Joined: 19 Mar 2006
Posts: 33

PostPosted: Tue Mar 21, 2006 11:28 pm    Post subject: Reply with quote

Quote:
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.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Mar 22, 2006 9:49 am    Post subject: Reply with quote

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 Smile
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
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