well it would be in actions
lightwand.lua (create this file)
function onUse(cid, item, frompos, item2, topos)
doTransformItem(item.uid, ID of Lit Lightwand Here)
return true
end
actions.xml (already existing file, add this)
<action itemid="ID of Unlit Lightwand Here"...