• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Storage teleport for Poi

bybbzan

mapper
Joined
Aug 4, 2012
Messages
809
Solutions
2
Reaction score
136
Location
Sweden
Hello guys!

I have been searching for this script but not find the perfect one.
It's for Pits of inferno, which means you need 7 different storages to pass.

So the script is about get access to a teleport:

*You need to have 7 different storages else you can't pass.
*If you miss anyone of them you can't pass and walkback.
*The storages could be taken in any order.

Thanks in advance.
 
LUA:
local stor = {11111, 22222, 33333, 44444, 55555, 66666, 77777}

function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if item.actionid == stor[1] then -- door aid 11111
for _, a in pairs(stor) do
if getCreatureStorage(cid, a) < 1 then
doTeleportThing(cid, lastPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The tile seems to be protected against unwanted intruders.")
doSendMagicEffect(position, CONST_ME_MAGIC_BLUE)
break
end
end
end
return true
end
 
Last edited:
Back
Top