Morning, want to do something for a game, friend and I am using the same soundpack, which I am working on, thing is our aliases are diferent, want to have the ability to toggle while in game.
I am thinking something like this. At least for the variables.
I want to have notes something like this. Note("Commands swapped, you can now use usf usi and usr!") Or You can now use sfi, srs, and sis.
Something like that. Probably would put that in the then thing, but no idea, I just no how to ImportXML playsounds and kind of work with regexp, most of the lua stuff kind of goes over my head, and just figuring out what to do there.
I am thinking for alias.
Anyway, hope this isn't to bad to read.
Thanks in advance.
I am thinking something like this. At least for the variables.
if not GetVariable("RHC") == "false" then
LHC=true
enable alias group="LHC"
SetVariable("LHC", "true")
elseif GetVariable("LHC") == "false" then
RHC=true
enable alias group=RHC""
SetVariable("RHC", "true")
I want to have notes something like this. Note("Commands swapped, you can now use usf usi and usr!") Or You can now use sfi, srs, and sis.
Something like that. Probably would put that in the then thing, but no idea, I just no how to ImportXML playsounds and kind of work with regexp, most of the lua stuff kind of goes over my head, and just figuring out what to do there.
I am thinking for alias.
<alias>
match="MKtog"
enabled="y"
Send_to="12"
sequence="100"
>
</send>if RHC=true then LHC=false SetVariable("LHC", false") elseif LHC=true then RHC=false SetVariable("RHC", "false")
Anyway, hope this isn't to bad to read.
Thanks in advance.