-- aRules.lua
-- helps you with tourney rules
-- by HoboJoey with the help of hampa
pressed = 0
local function RunCommand(cmd)
run_cmd("cp \n"..cmd)
end
local function say_rules()
RunCommand("SAY ^02Welcome to my tourney. The mod is wushufixed.tbm, prizes are 6k/3k.")
RunCommand("SAY ^02Rules are:")
RunCommand("SAY ^02No flamming, no caps, no spam, no trading, no linking, no colored text, no clan talk, no backseatmodearating.")
RunCommand("SAY ^02Have Fun.")
pressed = 1
end
local function key_up(key)
if key == string.byte('j') then
if pressed == 0 then
say_rules()
end
end
end
add_hook("key_up","RulesHelper",key_up)
Its for the people who like to host tourney but dont have the MuteAll Script. RunCommand("SAY ^02Welcome to my tourney. The mod is wushufixed.tbm, prizes are 6k/3k.")
RunCommand("SAY ^02Rules are:")
RunCommand("SAY ^02No flamming, no caps, no spam, no trading, no linking, no colored text, no clan talk, no backseatmodearating.")
RunCommand("SAY ^02Have Fun.")
If i just used this, would it work. Just w/o having to press j it types it all at once