| View previous topic :: View next topic |
| Author |
Message |
chadrt Voice
Joined: 19 Mar 2006 Posts: 33
|
Posted: Mon Mar 20, 2006 11:59 pm Post subject: Script to set user flags |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Mar 21, 2006 10:13 am Post subject: |
|
|
| 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  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
chadrt Voice
Joined: 19 Mar 2006 Posts: 33
|
Posted: Tue Mar 21, 2006 8:04 pm Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Mar 21, 2006 10:04 pm Post subject: |
|
|
| 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 |
|
 |
chadrt Voice
Joined: 19 Mar 2006 Posts: 33
|
Posted: Tue Mar 21, 2006 11:28 pm Post subject: |
|
|
| 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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Mar 22, 2006 9:49 am Post subject: |
|
|
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  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|