Hi there!
Is there any way to read a command, for example '/teleport' as a command in Eluna?
C++ checks it first and I have no idea how to achieve the goal.
Tried with:
Thanks!
Edit:
I'm also trying to create a command, that makes an NPC with entry 99999 invisible.
The problem is here, that I can't find any global function that would return the creature by entry.
Is there any way to achieve this?
Is there any way to read a command, for example '/teleport' as a command in Eluna?
C++ checks it first and I have no idea how to achieve the goal.
Tried with:
Code:
function SomeCommand(event, player, msg, Type, lang)
if(msg:lower() == "/teleport") then
Thanks!
Edit:
I'm also trying to create a command, that makes an NPC with entry 99999 invisible.
The problem is here, that I can't find any global function that would return the creature by entry.
Is there any way to achieve this?