You can check out my menu script Trinity-Eluna_Scripts/Menu at main . Juggalo187/Trinity-Eluna_Scripts . GitHub
At the top of Menu.lua is an option
Code:
local hirenpcbots = false
change that to true and it will enable the option to spawn the Hire npcbot npc.
But I made modified one for you that should hopefully be easier to understand and I added buffs.
The menu isn't an NPC it is a command so you can type ".menu" and the window will open with options... I personally prefer that over an npc.
menu-Mosel01.zip
You can look at it and try to understand it and maybe change/add onto it to make it be what you need.
Check out Eluna's Api website and it should help you understand some of it. And google is your friend. And if you don't have Notepad++ installed I suggest you install it if you want to use LUA.