ok i have 2 questions for you guys. first of all if i am making a chat commands script that need to check for the players level before it executes the teleport/add item/whatever would i use this snipit of script:
Code:
local mallmessage = "#mall"
local mall = "x, y, z"
local requiredlevel = "80"
function blahblah_OnChat(
local level = player:GetLevel
local LCM = message:lower()
if (LCM == mallmessage) then
if (level == requiredlevel) then
player:Teleport(mall)
else
player:SendAreaTriggerMessage("You are not the required level to use this command")
end
end
end
would that be accurate?
and my second question is what would the people of mmowned like to see in a chat script? add items? add sets of items? teach you spells? teach you weaponskills? etc if it can be done with lua then i will try my best to add it into the script i am going to make for you guys so any ideas would be helpful
--trujillo