Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- begin
- puts "Enter command: "
- line = gets.chomp
- case line
- when "is_connected"
- #puts bool
- when "num_of_connections"
- #number_of_connections
- when "exit"
- break
- when "dump"
- else
- #bot1.set_command(line)
- #puts bot2.get_command
- end
- end while true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement