Advertisement
NAOSAMA

Untitled

Apr 4th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. #アカウントを追加するSkript
  2. #簡単作成!
  3. #簡単消去!
  4. #-=-=-=-=-=-=-=-=-=-=AccountSK=-=-=-=-=-=-=-=-=-=-=-
  5. #/createac [PASS] アカウント作成
  6. #/removeac アカウント消去
  7. #/logac [PASS] ログイン
  8. #/logoac ログアウト
  9. #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  10. #注意
  11. #使用は自己責任
  12. command /createac [<text>]:
  13. trigger:
  14. if {%player%::ok} is false:
  15. if arg 1 is not set:
  16. send "&cパスワードが入力されていません"
  17. else:
  18. set {ac::%player%} to "%arg-1%"
  19. set {%player%::ok} to true
  20. send "&cアカウントを作成しました"
  21. send "&a&lアカウント情報"
  22. send "&b&lPass %arg-1%"
  23. else:
  24. send "&c既にアカウントを作っています"
  25.  
  26. command /removeac:
  27. trigger:
  28. if {%player%::ok} is false:
  29. send "&cアカウントが存在しません"
  30. else:
  31. send "&cアカウントを削除しました"
  32. set {log::%player%} to false
  33. set {%player%::ok} to false
  34.  
  35. command /logac [<text>]:
  36. trigger:
  37. if {%player%::ok} is false:
  38. send "&cアカウントを作成してください"
  39. send "&c/createac"
  40. else:
  41. if {log::%player%} is true:
  42. send "&cすでにログインしています"
  43. else:
  44. if arg 1 is not set:
  45. send "&cニックネームが入力されていません"
  46. else:
  47. if arg 1 is "%{ac::%player%}%":
  48. send "&a&lログイン"
  49. set {log::%player%} to true
  50. else:
  51. send "&cパスワードが違います"
  52.  
  53. command /logoac:
  54. trigger:
  55. if {%player%::ok} is false:
  56. message "&cアカウントが存在しません"
  57. else:
  58. if {log::%player%} is false:
  59. send "&cログインしていません"
  60. else:
  61. set {log::%player%} to false
  62. message "&cログアウトしました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement