you can also try
if (!isequippedcnt(32071,...,32128)) {
mes "Lastima que no tienes ningunas Alas Quest...";
close;
}
or
another trick that you could try
- script sample -1,{
OnInit:
for (.@i = 32071; .@i <= 32128; .@i++) {
setitemscript .@i, "{ @eq_32071_32128++; }", 1;
setitemscript .@i, "{ @eq_32071_32128--; }", 2;
}
end;
}
everytime when you equipped one of these items, it will increase a counter, when unequipped it will decrease the counter.
when you want to check if a user equipped it, then do this
if (!@eq_32071_32128) {
mes "Lastima que no tienes ningunas Alas Quest...";
close;
}