sad you don't have skype, I could help you through there a lot easier
Anyhow, you have scripts for all doors, yes?
Find the doors you want being able to do this on.
Add the function inside those scripts, right after the "function" in top of the script.
if you want this to apply on special doors (etc, exp doors, quest doors) you will have to change my script from using action-id to uniqueid instead.
But screw all I said earlier, lets do it over (I assume you only use action ids for doors, mostly at least).
find ALL your door files (etc door.lua, questdoor.lua, m.m)
add this right after the first line of "function":
PHP:
if item.uid == 6666 then
if getPlayerItemCount(cid, 22397) >= 1 and getPlayerItemCount(cid, 22396) >= 25 then
doPlayerRemoveItem(cid, 22397, 1)
doPlayerRemoveItem(cid, 22396, 25)
else
doPlayerSendTextMessage(cid, 21, "Yo may not pass!")
return true
end
end
Now you will only have to add "6666" as unique-id on the door to make it work.
This code will allow you to use this on level doors.
example level door:
PHP:
actionid: 1050 --level 50 for passage
uniqueid: 6666 --and you need the items to pass
that should work!