Botscript from camelCase to function_name.
Fixed visibility and naming.
pep8 style issues and visibility.