iraciz Posted April 7, 2020 Posted April 7, 2020 Good day, my require is not working, the label is running ignoring the countitem (shoes) Require: if (readparam(bAgi)>=89) || (countitem(2403) < 1) goto resist; this is not working, how to check 2 conditions at once? agi stat and the item in inventory. the script is running without the shoes. Thanks in advance. Quote
0 Emistry Posted April 7, 2020 Posted April 7, 2020 prontera,155,185,6 script Orzuelo 550,{ if (readparam(bAgi) >= 89 && countitem(2403) > 0) { mes "Your AGI >= 89 AGI and you have a "+getitemname(2403); soundeffectall "wild_rose_die.wav",0; } else { mes "something is missing"; } close; } 1 Quote
0 Emistry Posted April 7, 2020 Posted April 7, 2020 (edited) try if (readparam(bAgi) >= 89 && countitem(2403) < 1) goto resist; Edited April 7, 2020 by Emistry Quote
0 iraciz Posted April 7, 2020 Author Posted April 7, 2020 (edited) I tried yout script, but it still ignoring the shoes prontera,155,185,6 script Orzuelo 550,{ if (readparam(bAgi) >= 89 && countitem(2403) < 1) goto resist; mes "You have both requires"; soundeffectall "wild_rose_die.wav",0; end; resist: mes "something is missing"; end; } If I have both requires, I mean the agi over 89 and the shoes it mus goto resist label If dont, it must continue below lines until end. is not working as intended Edited April 7, 2020 by iraciz Quote
Question
iraciz
Good day, my require is not working, the label is running ignoring the countitem (shoes)
Require:
if (readparam(bAgi)>=89) || (countitem(2403) < 1) goto resist;
this is not working, how to check 2 conditions at once? agi stat and the item in inventory. the script is running without the shoes.
Thanks in advance.
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.