Hi im currently using fzcommands on my server and it works wonders but im wondering if it would be possible to add to it the bot it is used on has network admin rights if possible can the following command be added so it will do it via /msg botnick
act kill tempshun sajoin sapart gline
Gline needs to be pre set to 4hours if possible
these will then act as extra privaledges for our senior moderators and some more basic commands for our room moderators
if any is able to help many thanks in advance
Last edited by LB_1981 on Fri Jun 19, 2009 12:09 pm, edited 2 times in total.
It's not necessary to modify FzCommands for this reason. You can simply load another script for oper commands (I'm not sure if one exists in the Tcl Archive). An example on how to make the bot react on a private command:
# a message "kill" from a bot owner (flag n)
bind msg n kill msg:kill
proc msg:kill {nick uhost hand arg} {
# target will be the first word after "kill"
set target [lindex [split $arg] 0]
# kill target (the syntax isn't necessary correct)
putserv "kill $target"
}