Im a big noob at this..I have this function but im not sure where to put it also can somone correct me if im wrong?In actions xml i should have something like this?
function onUse(cid, item, fromPosition, itemEx, toPosition)
local config = {
gates = {
[1930] = {{x=100,y=100,z=7}...