hello, can someone help me to write proper scripts for those below:
x = random(1-10)
if x == 5
gain item x
else if x == 10
remove 2 item x
n = item x's name
w = weapon x's name
for(x=1;x<=10;++x)
{
if x mod 2 == 0 {show message "abc"}
}
play bgm "Airship"
stop bgm
array = [1,3,4,5]
if array.contains(x) {set selfswitches A = true; set switch 111 = true;}
Thank you very much
x = random(1-10)
if x == 5
gain item x
else if x == 10
remove 2 item x
n = item x's name
w = weapon x's name
for(x=1;x<=10;++x)
{
if x mod 2 == 0 {show message "abc"}
}
play bgm "Airship"
stop bgm
array = [1,3,4,5]
if array.contains(x) {set selfswitches A = true; set switch 111 = true;}
Thank you very much