else if arg 1 is "지급":
if player is op:
if arg 2 is not set:
send "{@p} &7지급할 갯수를 입력해주세요."
else:
if arg 3 is not set:
send "{@p} &7플레이어의 이름을 입력해주세요."
else:
if name of player's tool is not set:
set {_name} to type of player's tool
else:
set {_name} to name of player's tool
set {_p} to arg 3 parsed as player
set {_uuid} to uuid of {_p}
add arg 2 parsed as integer of player's tool to {mailbox.%{_uuid}%::}
send "{@p} &a우편함에 &l[ %{_name}% ] &e%arg 2%&a개를 지급하였습니다." to player
send "{@p} &a운영자가 우편함에 &l[ %{_name}% ] &e%arg 2%&a개를 지급하였습니다." to arg 3 parsed as player
else if:
set {_target} to arg 3
# 첫 번째 우편함이 가득 찼는지 확인 후 다음 우편함으로 이동
if {mailbox.%{_target}%::} size < 64:
add {_item} to {mailbox.%{_target}%::}
send "{@p} &7아이템이 우편함 1에 추가되었습니다." to {_target}
else if {mailbox2.%{_target}%::} size < 64:
add {_item} to {mailbox2.%{_target}%::}
send "{@p} &7우편함 1이 가득 차서 아이템이 우편함 2로 이동되었습니다." to {_target}
else if {mailbox3.%{_target}%::} size < 64:
add {_item} to {mailbox3.%{_target}%::*}
send "{@p} &7우편함 2가 가득 차서 아이템이 우편함 3로 이동되었습니다." to {_target}
else:
send "{@p} &7모든 우편함이 가득 찼습니다." to {_target}
#Skirpt Sos again
1 messages · Page 1 of 1 (latest)