Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- perfix: &d[&aCode&d]
- command /setcode <text>:
- trigger:
- if {codelist::%arg%} is set: #同じcode名があるかどうか
- message "{@perfix} 既に登録されているコード名です!"
- stop
- set {codelist::%arg%}
- if arg-1 is not set:
- message "{@perfix} &7/setcode <&fCodeName&7>"
- command /codelist:
- trigger:
- loop {codelist::*}:
- set {_codes} to "%{_codes}%,%loop-index%"
- replace "<none>," in {_codes} with ""
- message "%{_codes}%"
- command /code <text>:
- trigger:
- if {homelist::%arg%} is set:
- execute console command "/menu grab {codelist::%arg%}"
- else:
- message "{@perfix} &rCode&a[%arg%]&rはありません。"
- if arg-1 is not set:
- message "{@perfix} &7/code <&fCodeName&7>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement