Replace Lost Item

Main.ReplaceLostItem History

Hide minor edits - Show changes to markup

July 17, 2015, at 11:08 AM EST by shaelynne
Added lines 1-11:

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)