Exclude range of specific items from a map

RiverStyx

New member
Messages
9
Points
0
Now, I'm not sure if this is perfectly easy without being very specific in the script, but does anyone know if there's a way to check if a player has in their inventory/cart a large range of items?

Basically looking to exclude customs from being on a map, without having a very long and detailed script excluding everything between item ID X and Y.

I want to exclude the following item IDs and range of IDs

 
4480 - 4544
12211
12909
13602
13603
13634 - 13645
14144 - 14212
20000 - 30995
 
 
Edit: Nevermind, I can just add a getmapxy (.@map$,.@x,.@y,0); if(.@map$ == "mapname") {  end; } to those items. <3
 
 
Last edited by a moderator:
Back
Top