|
# File rbot/auth.rb, line 146
def help(topic="")
case topic
when "setlevel"
return "setlevel <command> <level> => Sets required level for <command> to <level> (private addressing only)"
when "useradd"
return "useradd <mask> <level> => Add user <mask> at level <level> (private addressing only)"
when "userdel"
return "userdel <mask> => Remove user <mask> (private addressing only)"
when "auth"
return "auth <masterpw> => Recognise your hostmask as bot master (private addressing only)"
when "levels"
return "levels => list commands and their required levels (private addressing only)"
when "users"
return "users => list users and their levels (private addressing only)"
else
return "Auth module (User authentication) topics: setlevel, useradd, userdel, auth, levels, users"
end
end
|