Lore are created sideways.

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

백형찬

New Member
Jul 29, 2021
8
0
1
Code:
set slot {주식::목록::%loop-index%::슬롯} of current inventory of player to {주식::목록::%loop-index%} named "&f%loop-index%" with lore "&6[가격정보] &e▶ 처음가격 : %{주식::목록::%loop-index%::상장가}% &f▶ 판매가격 : %{주식::목록::%loop-index%::매매가}%원" with lore "&6[개수] &f▶ %{주식::목록::%loop-index%::현재갯수}%/%{주식::목록::%loop-index%::최대갯수}%개" and "&6[변동기록] %{주식::목록::%loop-index%::기록::*}%"

Code:
set {_b} to 9
                    if {주식::목록::%loop-index%::기록::1} is not "&f기록 없음":
                        loop 9 times:
                            set {_c} to {_b}+1
                            set {주식::목록::%loop-index%::기록::%{_c}%} to {주식::목록::%loop-index%::기록::%{_b}%}
                            subtract 1 from {_b}
                        set {주식::목록::%loop-index%::기록::1} to "&c▼%{_변동가}%원"
                    else:
                        set {주식::목록::%loop-index%::기록::1} to "&c▼%{_변동가}%원"

Third lore are created sideways.
2021-08-04_18.03.07.png
 
Status
Not open for further replies.