I finally got LUA working properly, and everything seems to work except one thing.
the eq.SelfCast function in codes are not working.
for example: here is a translocator script
Code:
function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Hello there. There seem to be some strange problems with the boats in this area. The Academy of Arcane Sciences has sent a small team of us to investigate them. If you need to [travel to] Erud's [Crossing] in the meantime, I can transport you to my companion there.");
elseif(e.message:findi("crossing")) then
eq.SelfCast(2289);
end
end
everything works up until you say "crossing" and nothing happens
Is this a known issue?