Advertisement
Savorski

SavWeather - SkQuery nie wymagane

Aug 24th, 2016
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. #SAVWEATHER V1.0
  2. #PRZEZNACZONY NA WERSJE: 1.10
  3. #
  4. #Autor: Savorski
  5. #Zakazuje się kopiowania go pod własnym podpisem autorstwa
  6. #Zabrania sie brania korzysci ze skryptu (CIDE★ - Nie próbuj)
  7. #Jezeli chcesz zedytowac kod - prosze bardzo, ale nie publikuj go na zadnych forach.
  8.  
  9. options:
  10. #Wspolczynniki pogody.#
  11. #Wskazujesz tutaj jaka ma byc pogoda maksymalna i minimalna.#
  12. #1 - najmniejsza, 2 - najwieksza#
  13. slonce1: 13
  14. slonce2: 35
  15. deszcz1: 2
  16. deszcz2: 15
  17. burza1: 2
  18. burza2: 15
  19.  
  20.  
  21. #DZIAŁANIE SKRYPTU#
  22.  
  23. on weather change to clear:
  24. set {pogoda.temperatura} to random integer between {@slonce1} and {@slonce2}
  25. set {pogoda.pogoda} to "&eSlonecznie"
  26.  
  27. on weather change to rain:
  28. set {pogoda.temperatura} to random integer between {@deszcz1} and {@deszcz2}
  29. set {pogoda.pogoda} to "&bDeszczowo"
  30.  
  31. on weather change to thunder:
  32. set {pogoda.temperatura} to random integer between {@burza1} and {@burza2}
  33. set {pogoda.pogoda} to "&9Burza"
  34.  
  35.  
  36. #OKIENKO STATUSOWE#
  37.  
  38. command /temperatura:
  39. aliases: pogoda
  40. trigger:
  41. send "&eObecna temperatura: &6%{pogoda.temperatura}%&e°C"
  42. send "&6Obecna pogoda: %{pogoda.pogoda}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement