Advertisement
Guest User

Untitled

a guest
Jul 31st, 2016
95
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. begin
  3.  
  4.  
  5.     puts "Enter command: "
  6.     line = gets.chomp
  7.     case line
  8.     when "is_connected"
  9.    
  10.     #puts bool
  11.        
  12.     when "num_of_connections"
  13.    
  14.     #number_of_connections
  15.    
  16.     when "exit"
  17.    
  18.         break
  19.        
  20.     when "dump"
  21.    
  22.     else
  23.         #bot1.set_command(line)
  24.         #puts bot2.get_command
  25.     end
  26.  
  27. end while true
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement