under OnCommand, check using Copy if the first part of the text = '/addbot' then check if the character ater that is a # or a space; if space, set some var to 0; otherwise to the # thats inputed there.. if the # is between 0 and 5, then they correctly added a bot. Then check the lowest available id that the bot will take, and then do OnJoinGame(Id, Team) with the appropriate variables
or u can do Result := true; then take the team #, then do OnJoinGame(Command(Text), Team); sense Command('/addbot# ...') returns the id the bot will be
2nd one seems ezr to do
really don't know why it doesn't call that event...