| View previous topic :: View next topic |
| Author |
Message |
DaRkOoO Halfop
Joined: 27 Sep 2008 Posts: 67
|
Posted: Mon Jun 22, 2009 7:22 pm Post subject: Adding users |
|
|
Hi,
I'm using some script for adding/delting users,but i have problem.
| Code: |
bind pub m|m .addop proc_addop
bind pub m|m .delop proc_delop
# Addop Process
proc proc_addop { nick uhost hand chan text } {
set addopnick [nick2hand $text]
chattr $addopnick +o
putserv "PRIVMSG $chan :$text Has Been Giving Auto-Op Access"
putlog "$addopnick added $addopnick to Auto-Op"
putquick "MODE $chan +o $text"
putserv "NOTICE $text :You Have Been Givin Auto-Op Access For Channel: \002$chan\002 use \002.commands\002 To List New Channel Commands Available To You"
unset addopnick
}
# Delop Process
proc proc_delop { nick uhost hand chan text } {
set delopnick [nick2hand $text]
chattr $delopnick -o
putserv "PRIVMSG $chan :$text Removed From Auto-Op Access"
putlog "$delopnick removed $delopnick from Auto-Op"
putquick "MODE $chan -o $text"
unset delopnick
}
|
So,when I type .adduser nick,he did send the msg in channel,but he did not add that nick as +o,I dunno what he did,but that nick cant use command which are for +o users.
So,I was wondering is there something wrong with this script
Also,when i try to add user manually through telnet,i got this:
| Code: | .+user mawa_opasnica
[01:20] #DaRkOoO# +user mawa_opas
Added mawa_opas (no host) with no password and no flags.
|
Why he did'nt add whole nick?
Thanks for any kind of help.
Regards,
Darko. |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Mon Jun 22, 2009 9:43 pm Post subject: |
|
|
The nickname is longer than eggdrop's max handle lenth settings.  _________________ TCL the misunderstood |
|
| Back to top |
|
 |
DaRkOoO Halfop
Joined: 27 Sep 2008 Posts: 67
|
Posted: Tue Jun 23, 2009 5:47 am Post subject: |
|
|
| How can I change that length? |
|
| Back to top |
|
 |
LB_1981 Voice
Joined: 08 Jun 2009 Posts: 15
|
Posted: Tue Jun 23, 2009 8:27 am Post subject: |
|
|
look for this in your eggdrop.conf
# This setting allows you to specify the maximum nick-length supported by your
# network. The default setting is 9. The maximum supported length by Eggdrop
# is 32.
set nick-len 9
Change set nick-len 9 to whatever you want _________________ LB_1981 |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Jun 23, 2009 8:36 am Post subject: |
|
|
Increasing nick-len won't solve your problem, you need to modify the max hadle-length of your eggdrop. Read this. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
DaRkOoO Halfop
Joined: 27 Sep 2008 Posts: 67
|
Posted: Tue Jun 23, 2009 8:46 am Post subject: |
|
|
Okey,thanks..
What about my 1st question?Can anybody help me with that?
[EDIT] : I've resolved first problem allready..  |
|
| Back to top |
|
 |
|