okay im making a teleport command and get this error,
[17/10/2012 19:13:9] [Error - LuaInterface::loadFile] data/talkactions/scripts/tele.lua:1: '<name>' expected near '533'
[17/10/2012 19:13:9] [Error - Event::checkScript] Cannot load script (data/talkactions/scripts/tele.lua)
[17/10/2012 19:13:9] data/talkactions/scripts/tele.lua:1: '<name>' expected near '533'
here is the tele.lua file
[17/10/2012 19:13:9] [Error - LuaInterface::loadFile] data/talkactions/scripts/tele.lua:1: '<name>' expected near '533'
[17/10/2012 19:13:9] [Error - Event::checkScript] Cannot load script (data/talkactions/scripts/tele.lua)
[17/10/2012 19:13:9] data/talkactions/scripts/tele.lua:1: '<name>' expected near '533'
here is the tele.lua file
PHP:
local poss = x:533 y:511 z:6
function onSay(cid, words, param, channel)
doTeleportThing(cid, poss)
doPlayerSendTextMessage(cid, 22, 'You have arrived!')
doSendMagicEffect(poss, CONST_ME_TELEPORT)
end