auction skript error

  • 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 comminuty!

    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.

top05050505

Member
Jun 5, 2021
1
0
1
25
I'm using money skript with this skript.
but auction skript has error ( can't understand this condition if {auction::start::buyer}'s {money::%player%} >= {auction::start::emoji_stuck_out_tongue:rice}: )
How can fix it ?
version is JE 1.12.2 / Sk 2.4

Code:
options:
    칭호: &6&l[ &f&l경매 &6&l]&f
  
every 1 second:
    {auction::start::time} is set
    remove 1 from {auction::start::time}
    {auction::start::time} <= 0
    if {auction::start::buyer} is set:
        if {auction::start::buyer}'s {money::%player%} >= {auction::start::price}:
            broadcast "{@칭호} &f&l마지막으로 가격을 말한지 30초가 지나 &e&l%{auction::start::buyer}%&f&l님이 아이템을 획득했습니다!"
            remove {auction::start::price} from {auction::start::buyer}'s {money::%player%}
            add {auction::start::price} to {auction::start::starter}'s {money::%player%}
            give {auction::start} to {auction::start::buyer}
        else:
            broadcast "{@칭호} &f&l마지막으로 가격을 말한지 30초가 지났지만 &e&l%{auction::start::buyer}%&f&l님의 돈이 부족해 경매가 무효가 됬습니다!"
    else:
        broadcast "{@칭호} &f&l마지막으로 가격을 말한지 30초가 지났지만 아무도 가격을 말하지않아 경매가 무효가 됬습니다!"
        give {auction::start} to {auction::start::starter}
    delete {auction::start::*}
    delete {auction::start}
 
Status
Not open for further replies.