LUA ERROR: sys/lua/music.lua:5: '(' expected near '.1'
Okay Script This Is The Script:
----------------------------
if lua==nil then lua={} end
lua.music={}
----------------------------
addhook("say","lua.music.1")
function lua.music.1(id,txt)
if (txt=="!moveragedream") then parse("sv_sound \"ryosuke/ragedream.ogg\""); end
if (txt=="!movebreak2nite") then parse("sv_sound \"ryosuke/break_2_nite.ogg\""); end
if (txt=="!movearoundworld") then parse("sv_sound \"ryosuke/aroundworld.ogg\""); end
if (txt=="!secondtsummer") then parse("sv_sound \"ryosuke/summer.ogg\""); end
if (txt=="!pamsfragile") then parse("sv_sound \"ryosuke/sofragile.ogg\""); end
if (txt=="!brisingsun") then parse("sv_sound \"ryosuke/risingsun.ogg\""); end
end
addhook("say","lua.music.2")
function lua.music.2(id,txt)
if (txt=="!musichelp")
msg("!ryosuke")
end
end
addhook("say","lua.music.3")
function lua.music.3(id,txt)
if (txt=="!ryosuke")
msg("!moveragedream")
msg("!movebreak2nite")
msg("!movearoundworld")
msg("!secondtsummer")
msg("!pamsfragile")
msg("!brisingsun")
end
end