More work on bots registered within the script

New conditions in bot functions:

* Allow to specify class as string
* Set class and share values to 0 if they are specified as empty strings
* Check for valid class number, otherwise result in error
* Check for non empty nick, otherwise result in error