Hey everyone another release here, just showin' my batch skillz 
This is a program that will write 5 teles connected to an NPC in .lua
If 5 isnt enough tell me ill made another post for more.
There is 2 programs ".Lua Builder vT" & ".Lua Builder vL"
The difference is vT has tutorial built in on how to use it, and vL has none for speed.
(You should start with vT even if you know .lua)
Once you master both start to open the .lua files you make take a look at the codes and maybe you will learn!!!
(It's how i did it)
To use the codes below you must open notepad and save them as the title of the code box!!
Also Check This Post Out!!
.Lua Builder vT.bat
Code:
@echo off
echo.
if exist Warps.lua del Warps.lua
echo Welcome to Benz .lua Builder this program will make a .lua
echo file for you all you have to do is put it in the right folder!!
echo.
pause
echo.
echo. IMPORTANT: Allways type something in, even if you dont want or need type 0
echo.
pause
echo.
echo. The field "Name:" Is what you will see when you talk to then NPC
echo. It's the menu you click into that will bring you to Tele's menu
echo.
pause
echo.
echo. When asked to enter field "Tele" the format is (Map, X, Y, Z)
echo. Make sure to single space after the commas!
echo.
pause
echo.
echo. When typing in cords you only type number, number, number, number
echo. You don't need to type "( )" program does it for you!
echo.
pause
echo.
echo. So while you are typing should look like this -
echo.
echo. Tele 1:5, 100, 200, 300
echo. Name of Tele 1: Outback
echo. Tele 2:5, 100, 200, 300
echo. Name of Tele 2: Outback
echo.
pause
echo.
echo. Please note- Those arent real cords and im not responsible for what
echo. happens if you use them.
echo.
echo. Npc Entry ID is the Npc your putting this on its the number you use
echo. to spawn the Npc (Please note needs to be real Npc in game)
echo.
pause
echo.
set /p name= Name:
set /p port1= Tele 1:
set /p n1= Name of Tele 1:
set /p port2= Tele 2:
set /p n2= Name of Tele 2:
set /p port3= Tele 3:
set /p n3= Name of Tele 3:
set /p port4= Tele 4:
set /p n4= Name of Tele 4:
set /p port5= Tele 5:
set /p n5= Name of Tele 5:
set /p npc= Entry of NPC:
echo.
echo.
echo. Copy and Paste whats below into notepad
echo. Save it as "Warp.lua" Without quotes "These"
echo.
echo. To Copy right click anywhere inside the black box
echo. Then click mark
echo. While holding left mouse button, drag and highlight
echo. Start at - function On_Gossip(unit, event, player)
echo. End at - RegisterUnitGossipEvent(66666, 2, "Gossip_Submenus")
echo. Once all that text is highlighted click "ctrl + c"
echo. Then open notepad and click "ctrl + v"
echo.
pause
echo.
echo.
echo.function On_Gossip(unit, event, player)
echo.unit:GossipCreateMenu(3544, player, 0)
echo.unit:GossipMenuAddItem(2, "%name%", 1, 0)
echo.unit:GossipSendMenu(player)
echo.end
echo.
echo.function Gossip_Submenus(unit, event, player, id, intid, code)
echo.
echo.if(intid == 999) then
echo.unit:GossipCreateMenu(3543, player, 0)
echo.unit:GossipMenuAddItem(2, "%name%", 1, 0)
echo.unit:GossipSendMenu(player)
echo.end
echo.
echo.if(intid == 1) then
echo.unit:GossipCreateMenu(3543, player, 0)
echo.unit:GossipMenuAddItem(1, "%n1%", 16, 0)
echo.unit:GossipMenuAddItem(1, "%n2%", 17, 0)
echo.unit:GossipMenuAddItem(1, "%n3%", 18, 0)
echo.unit:GossipMenuAddItem(1, "%n4%", 19, 0)
echo.unit:GossipMenuAddItem(1, "%n5%", 20, 0)
echo.unit:GossipMenuAddItem(0, "Back", 999, 0)
echo.unit:GossipSendMenu(player)
echo.end
echo.
echo.if(intid == 16) then
echo. player:Teleport(%port1%)
echo.end
echo.if(intid == 17) then
echo. player:Teleport(%port2%)
echo.end
echo.if(intid == 18) then
echo. player:Teleport(%port3%)
echo.end
echo.if(intid == 19) then
echo. player:Teleport(%port4%)
echo.end
echo.if(intid == 20) then
echo. player:Teleport(%port5%)
echo.end
echo.end
echo.
echo.RegisterUnitGossipEvent(%npc%, 1, "On_Gossip")
echo.RegisterUnitGossipEvent(%npc%, 2, "Gossip_Submenus")
echo.
echo.
echo.
pause
echo. Thx for using .lua builder!! (created by benzkool)
.Lua Builder vL.bat
Code:
@echo off
echo.
if exist Warps.lua del Warps.lua
echo Welcome to Benz .lua Builder this program will make a .lua
echo file for you all you have to do is put it in the right folder!!
echo.
set /p name= Name:
set /p port1= Tele 1:
set /p n1= Name of Tele 1:
set /p port2= Tele 2:
set /p n2= Name of Tele 2:
set /p port3= Tele 3:
set /p n3= Name of Tele 3:
set /p port4= Tele 4:
set /p n4= Name of Tele 4:
set /p port5= Tele 5:
set /p n5= Name of Tele 5:
set /p npc= Entry of NPC:
echo.
echo.
echo.function On_Gossip(unit, event, player)
echo.unit:GossipCreateMenu(3544, player, 0)
echo.unit:GossipMenuAddItem(2, "%name%", 1, 0)
echo.unit:GossipSendMenu(player)
echo.end
echo.
echo.function Gossip_Submenus(unit, event, player, id, intid, code)
echo.
echo.if(intid == 999) then
echo.unit:GossipCreateMenu(3543, player, 0)
echo.unit:GossipMenuAddItem(2, "%name%", 1, 0)
echo.unit:GossipSendMenu(player)
echo.end
echo.
echo.if(intid == 1) then
echo.unit:GossipCreateMenu(3543, player, 0)
echo.unit:GossipMenuAddItem(1, "%n1%", 16, 0)
echo.unit:GossipMenuAddItem(1, "%n2%", 17, 0)
echo.unit:GossipMenuAddItem(1, "%n3%", 18, 0)
echo.unit:GossipMenuAddItem(1, "%n4%", 19, 0)
echo.unit:GossipMenuAddItem(1, "%n5%", 20, 0)
echo.unit:GossipMenuAddItem(0, "Back", 999, 0)
echo.unit:GossipSendMenu(player)
echo.end
echo.
echo.if(intid == 16) then
echo. player:Teleport(%port1%)
echo.end
echo.if(intid == 17) then
echo. player:Teleport(%port2%)
echo.end
echo.if(intid == 18) then
echo. player:Teleport(%port3%)
echo.end
echo.if(intid == 19) then
echo. player:Teleport(%port4%)
echo.end
echo.if(intid == 20) then
echo. player:Teleport(%port5%)
echo.end
echo.end
echo.
echo.RegisterUnitGossipEvent(%npc%, 1, "On_Gossip")
echo.RegisterUnitGossipEvent(%npc%, 2, "Gossip_Submenus")
echo.
echo.
echo.
pause
echo. Thx for using .lua builder!! (created by benzkool)
If you have any problems message me or post here
(Rather you post here)