The 1. point solved by Arnold_X-P. Thanks!
The 2. point also 'solved'.
To avoid the above mentioned error you only comment the following lines in the script:
original line: unbind msg - pass *msg:pass
modified line:
#unbind msg - pass *msg:pass
original line: bind msg p|p pass fz:mpass
modified line:
#bind msg p|p pass fz:mpass
original section:
Code: Select all
proc fz:mpass {nick uhost hand arg} {
global botnick fzcom
if {[set pw [lindex [split $arg] 0]] == ""} {
puthelp "NOTICE $nick :$fzcom(logo): SYNTAX: /msg $botnick pass <password>"
return 0
}
if {![passwdok $hand ""]} {
puthelp "NOTICE $nick :$fzcom(logo): Your password has been set before, you don't need to set it again. Simply type: \[/msg $botnick auth <password>\] to authenticate yourself. To change the password use only /msg $botnick pass <password>"
return 0
}
setuser $hand PASS $pw
puthelp "NOTICE $nick :$fzcom(logo): Your password is now set to: \002$pw\002, remember your password for future use."
putcmdlog "$fzcom(logo): <<$nick>> !$hand! Set Password."
return 0
}
modified section:
Code: Select all
#proc fz:mpass {nick uhost hand arg} {
# global botnick fzcom
# if {[set pw [lindex [split $arg] 0]] == ""} {
# puthelp "NOTICE $nick :$fzcom(logo): SYNTAX: /msg $botnick pass <password>"
# return 0
#[/b] }
# [/b]if {![passwdok $hand ""]} {
# puthelp "NOTICE $nick :$fzcom(logo): Your password has been set before, you don't #need to set it again. Simply type: \[/msg $botnick auth <password>\] to authenticate #yourself. To change the password use only /msg $botnick pass <password>"
# return 0
# }
# setuser $hand PASS $pw
# puthelp "NOTICE $nick :$fzcom(logo): Your password is now set to: \002$pw\002, remember your password for future use."
# putcmdlog "$fzcom(logo): <<$nick>> !$hand! Set Password."
#return 0
#}
The !up command did not work needed a modification.
original line:
putserv "$fzcom(chanserv)
:[string map [list %chan $chan %botnick $botnick] $fzcom(chanservop)]"
modified lline:
putserv "$fzcom(chanserv) [string map [list %chan $chan %botnick $botnick] $fzcom(chanservop)]"
The working script is here:
https://paste.ubuntu.com/24890970/
Can someone add !halfop and !dehalfop commands to this script?