kjfalkeiae

vote&rc

Jun 23rd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. command /votecount <offline player> <number> [<text>]:
  2. permission: votecount
  3. trigger:
  4. if arg 3 is not set:
  5. add arg 2 to {vote.%arg 1%}
  6. if arg 3 is "set":
  7. set {vote.%arg 1%} to arg 2
  8.  
  9. command /rc <offline player> <number> [<text>]:
  10. permission: rccount
  11. trigger:
  12. if arg 3 is not set:
  13. add arg 2 to {rc.%arg 1%}
  14. broadcast "&b%arg 1%さんが&a%arg 2%RCを&e寄付&aしてくれました!ありがとうございます!"
  15. if arg 3 is "set":
  16. set {rc.%arg 1%} to arg 2
  17.  
  18. command /check <offline player>:
  19. trigger:
  20. if {rc.%arg 1%} is not set:
  21. set {rc.%arg 1%} to 0
  22. if {vote.%arg 1%} is not set:
  23. set {vote.%arg 1%} to 0
  24. message "&b%arg 1%さんの情報:"
  25. message "&b寄付RC合計:%{rc.%arg 1%}%"
  26. message "&b投票回数合計:%{vote.%arg 1%}%"
Add Comment
Please, Sign In to add comment