Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /insertlore <number> <text>:
- permission: admin
- usage: insertline <line (0 = before first line)> <text>
- trigger:
- set {_cnt} to 1
- loop 20 times:
- #最低loreは1行ある前提で何行あるか求める
- if line {_cnt} of lore of player's tool is not set:
- exit 2 sections
- add 1 to {_cnt}
- set {_cnt2} to {_cnt} - arg 1
- loop {_cnt2} times:
- set line ({_cnt}+2 - loop-number) of lore of player's tool to line ({_cnt}+1 - loop-number) of lore of player's tool
- set line (arg 1 + 1) of lore of player's tool to colored arg 2
- send "%arg 2%&7を&b%arg 1%&7行目に入れました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement