From AardWiki

Main: ReplaceLostItem

if self == nil or ch == nil or self.room.key ~= ch.room.key then return end
if isplayer(ch) then
if not(taskopen(ch,#,#)) then
sayto(ch,"something you want to say")
end
if taskopen(ch,#,#) and carries(ch,"area-#") then
sayto(ch,"I already gave it to you")
else if taskopen(ch,#,#) and not(carries(ch,"area-3")) then
sayto(ch,"You lost it. Try again.!")
give(oload("area-#"),ch)

Retrieved from http://wiki.aardwolf.com/index.php/Main/ReplaceLostItem
Page last modified on July 17, 2015, at 11:08 AM EST