Guest User

Untitled

a guest
Jul 21st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. > recieve_data
  2. > @state == true
  3.  
  4. # Information
  5. > /(on|online|who)/i
  6. > /(manual|help)\s?(.+)/i
  7. > /(stats|info|version)\s?(.+)/i
  8.  
  9. # Communication
  10. > /(msg|page|tell) (.+), (.+)/i
  11. > /\.(.+) (.+)/i
  12.  
  13. # Programming
  14. > /create (rb|py|php|js|java|c|d|c#|f#|erl|hs) (.+)/i
  15. > /edit (.+)/i
  16. > /run (.+)/i
  17. > /halt (.+)/i
  18. > /wipe (.+)/i
  19. > /delete (.+)/i
  20. > /cli (.+)/i
  21. > /doc (.+)=(.+)/i
  22.  
  23. > @state == false
  24.  
  25. # Accounts
  26. > /new (.+)/i
  27. > create_account
  28. > check_name
  29. > $account_db.where :name => name
  30.  
  31. > $account_db.insert :name => name, :password => password
  32.  
  33. > link_account
  34. > $account_db.where :name => name.update :current_login => @user
  35.  
  36. > log_activity
  37. > puts data
  38.  
  39. > /(login|con(nect)con) (.+)/i
  40. > login_account
  41. > check_password
  42. > $account_db.where :name => name, :password => password
  43.  
  44. > link_account
  45. > $account_db.where :name => name.update :current_login => @user
  46.  
  47. > log_activity
  48. > puts data
  49.  
  50. # Information
  51. > /(on|online|who)/i
  52. > /(manual|help)\s?(.+)/i
  53. > /(stats|info|version)\s?(.+)/i
Add Comment
Please, Sign In to add comment