Change TALKTYPE to whatever suits you
@grekftw
local item_required = 1111
local item_count = 1
local destination = Position(1000,1000,7)
function onUse(cid, item, fromPosition, itemEx, toPosition)
-- check if lever is currently used
if item.itemid == 1946 then
player:say("Wait...