president vankk
Web Developer & AuraOT Owner
- Joined
- Jul 10, 2009
- Messages
- 5,719
- Solutions
- 9
- Reaction score
- 339
XML:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="hiho" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes">
<config name="lines"><![CDATA[
]]></config>
<event type="login" name="hihor" event="script"><![CDATA[
function onLogin(cid)
registerCreatureEvent(cid, "hiho")
return true
end]]></event>
<event type="login" name="hiho" event="script"><![CDATA[
function onLogin(cid)
local level = 1
local effecttextline1and9 = MESSAGE_STATUS_CONSOLE_BLUE
local effecttextcommands = MESSAGE_STATUS_CONSOLE_BLUE
local effecttextvisit = MESSAGE_STATUS_CONSOLE_BLUE
local Textline1 = "Welcome to Zhfgus, here's a list of commands:"
local Textline2 = "!aol -> Buy an amulet of loss"
local Textline3 = "!online -> Show players online"
local Textline4 = "!bless -> Get blessed by the Gods"
local Textline5 = "!spells -> List of spells available"
local Textline6 = "!frags -> See your current frags"
local Textline7 = "!report -> Report bugs to staff"
local Textline8 = "/noob -> Transport the noob character (Lvl -50) for temple"
local Textline9 = "-Visit our webpage for a complete list of commands."
local Textline10 = "//gfros Staff"
if getPlayerLevel(cid) >= level then
doPlayerSendTextMessage(cid, effecttextline1and9, Textline1)
doPlayerSendTextMessage(cid, effecttextcommands, Textline2)
doPlayerSendTextMessage(cid, effecttextcommands, Textline3)
doPlayerSendTextMessage(cid, effecttextcommands, Textline4)
doPlayerSendTextMessage(cid, effecttextcommands, Textline5)
doPlayerSendTextMessage(cid, effecttextcommands, Textline6)
doPlayerSendTextMessage(cid, effecttextcommands, Textline7)
doPlayerSendTextMessage(cid, effecttextvisit, Textline8)
doPlayerSendTextMessage(cid, effecttextline1and9, Textline9)
doPlayerSendTextMessage(cid, effecttextline1and10, Textline10)
end
return true
end
]]></event>
</mod>