Advertisement
PifyZ

Exemple BootMonkey

Aug 18th, 2012
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.35 KB | None | 0 0
  1. aide = "Aide: ce programme ne fait rien :D"
  2. print "Bienvenue sur mon programme, ecrivez help pour obtenir de l'aide"
  3.  
  4. ask command
  5. if (command == "help")
  6. {
  7.     print aide
  8. }
  9. elseif (command == "h")
  10. {
  11.     print "Bon... tu as pas ecris help, mais au moins le h... " . aide
  12. }
  13. else
  14. {
  15.     print "T'es pas doue, fallait juste ecrire help..."
  16.     sleep 2
  17.     exit.
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement