Code: Select all
LTU()
Code: Select all
------------------------------------------------------------------
-- Lamkefyned Tools Userfunction
-- Version 1.0.000
------------------------------------------------------------------
-- Settings
function LTU_version()
cprintf(cli.red,"Version: 1.0.000\n")
end
function LTU_versioninfo()
cprintf(cli.red,"Version Beta\n")
end
function LTU_clear()
local _, _, x, y = getConsoleAttributes();
for j = 1, y do
printf(string.rep(' ', x));
end
clearScreen();
end
-- General
function LTU()
cprintf(cli.red,"Lamkefyned Tools Userfunction\n")
end
function LTU(loading)
LTU_clear()
cprintf(cli.red,"\n \n \n \n \n \n \n \n \n \n \n \n")
cprintf(cli.red,"Loading Script By Lamkefyned...")
cprintf(cli.red,"\n \n \n \n \n \n \n \n \n \n \n \n")
yrest(2000)
LTU_clear()
end
function LTU(info)
cprintf(cli.red,"Developer: Lamkefyned\n")
cprintf(cli.red,"Userfunction: Lamkefyned Tools Userfunction\n")
LTU_version()
LTU_versioninfo()
end
-- Hoss
function LTU_Hoss(menu)
print("Here are the options:")
print(" 1. Main character")
print(" 2. Character to level up")
printf("Enter a number > ")
local selected = io.stdin:read()
if selected == "1" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("MC"))
elseif selected == "2" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("CTL"))
yrest(5000)
loadPaths(__WPL.FileName);
end
end
function LTU_Hoss(start)
eventParty()
repeat
yrest(100)
until checkEventParty() == "start"
eventParty("stop")
end
function LTU_Hoss(next)
eventParty()
repeat
yrest(100)
until checkEventParty() == "next"
eventParty("stop")
end
function LTU_Hoss(finish)
eventParty()
repeat
yrest(100)
until checkEventParty() == "finish"
eventParty("stop")
end