Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. using Corale.Colore.Core;
  2. using Corale.Colore.Razer.Keyboard;
  3.  
  4. // Option 1
  5. function SayThanks(){
  6. Key[] keys = {
  7. Key.T,
  8. Key.H,
  9. Key.A,
  10. Key.N,
  11. Key.K,
  12. Key.S
  13. };
  14. Corale.Colore.Core.Color yellow = Corale.Colore.Core.Color.Yellow;
  15. Keyboard.Instance.SetKeys(keys, yellow, false);
  16. }
  17.  
  18. function void SayThanks2(){
  19. string input = "thanks";
  20. Corale.Colore.Core.Color yellow = Corale.Colore.Core.Color.Yellow;
  21. foreach (char l in input)
  22. {
  23. Keyboard.Instance.SetKey((Key)Enum.Parse(typeof(Key), l.ToString()), yellow, false);
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement