I'm using some script for adding/delting users,but i have problem.
Code: Select all
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,I was wondering is there something wrong with this script
Also,when i try to add user manually through telnet,i got this:
Code: Select all
.+user mawa_opasnica
[01:20] #DaRkOoO# +user mawa_opas
Added mawa_opas (no host) with no password and no flags.
Thanks for any kind of help.
Regards,
Darko.