Crate command_ifyer

Source

Functions§

what_to_execute
Decides what to execute Version must == 0 or == 1 Behaviour for version not being == 0 or == 1 is undefined When it is executed it returns a number that is determined by comparing arg to command nicknames (capital insensitive) and if arg is in command nicknames it returns Some(i) where i == the index that it is at Else if all_is_255 && arg == “all” than Some(255) is returned Else if arg is a decimal integer it returns arg as a integer Else it returns None if version == 0 or Some(245) if version == 1