Jump to content
  • 0

Question

Posted

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

  • 0
Posted (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 by iraciz
  • 0
Posted
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;
}

 

  • MVP 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...