I'm trying to smash together a bunch of if statements (mostly because I don't know how to make anything else work for this). What I'm wondering is, am I doing this right, and if not, how should it look?
I have an alias called:
And in this alias I'm trying to do this:
I have an alias called:
Quote:
^d(x|e|k|i|r|c|m|u|v|al|aa|ll|l|s|o|d|a|n|g|p)(x|e|k|i|r|c|m|u|v|l|s|o|d|a|n|g|p)$
^d(x|e|k|i|r|c|m|u|v|al|aa|ll|l|s|o|d|a|n|g|p)(x|e|k|i|r|c|m|u|v|l|s|o|d|a|n|g|p)$
And in this alias I'm trying to do this:
Quote:
if "%1" == "x" then
if "%2" == "x then"
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with xentio")
elseif "%2" == "e" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with eurypteria")
elseif "%2" == "k" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with kalmia")
elseif "%2" == "i" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with digitalis")
elseif "%2" == "r" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with darkshade")
elseif "%2" == "c" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with curare")
elseif "%2" == "m" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with monkshood")
elseif "%2" == "u" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with euphorbia")
elseif "%2" == "v" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with vernalius")
elseif "%2" == "l" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with larkspur")
elseif "%2" == "s" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with slike")
elseif "%2" == "o" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with voyria")
elseif "%2" == "d" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with delphinium")
elseif "%2" == "a" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with aconite")
elseif "%2" == "n" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with selarnia")
elseif "%2" == "g" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with gecko")
elseif "%2" == "p" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with prefarar")
end
elseif "%1" == "e" then
if "%2" == "x then"
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with xentio")
elseif "%2" == "e" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with eurypteria")
elseif "%2" == "k" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with kalmia")
elseif "%2" == "i" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with digitalis")
elseif "%2" == "r" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with darkshade")
elseif "%2" == "c" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with curare")
elseif "%2" == "m" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with monkshood")
elseif "%2" == "u" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with euphorbia")
elseif "%2" == "v" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with vernalius")
elseif "%2" == "l" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with larkspur")
elseif "%2" == "s" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with slike")
elseif "%2" == "o" then
Send ("envenom @weaponleft with "eurypteria")
Send ("envenom @weaponright with voyria")
elseif "%2" == "d" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with delphinium")
elseif "%2" == "a" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with aconite")
elseif "%2" == "n" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with selarnia")
elseif "%2" == "g" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with gecko")
elseif "%2" == "p" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with prefarar")
end
if "%1" == "x" then
if "%2" == "x then"
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with xentio")
elseif "%2" == "e" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with eurypteria")
elseif "%2" == "k" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with kalmia")
elseif "%2" == "i" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with digitalis")
elseif "%2" == "r" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with darkshade")
elseif "%2" == "c" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with curare")
elseif "%2" == "m" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with monkshood")
elseif "%2" == "u" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with euphorbia")
elseif "%2" == "v" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with vernalius")
elseif "%2" == "l" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with larkspur")
elseif "%2" == "s" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with slike")
elseif "%2" == "o" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with voyria")
elseif "%2" == "d" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with delphinium")
elseif "%2" == "a" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with aconite")
elseif "%2" == "n" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with selarnia")
elseif "%2" == "g" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with gecko")
elseif "%2" == "p" then
Send ("envenom @weaponleft with xentio")
Send ("envenom @weaponright with prefarar")
end
elseif "%1" == "e" then
if "%2" == "x then"
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with xentio")
elseif "%2" == "e" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with eurypteria")
elseif "%2" == "k" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with kalmia")
elseif "%2" == "i" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with digitalis")
elseif "%2" == "r" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with darkshade")
elseif "%2" == "c" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with curare")
elseif "%2" == "m" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with monkshood")
elseif "%2" == "u" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with euphorbia")
elseif "%2" == "v" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with vernalius")
elseif "%2" == "l" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with larkspur")
elseif "%2" == "s" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with slike")
elseif "%2" == "o" then
Send ("envenom @weaponleft with "eurypteria")
Send ("envenom @weaponright with voyria")
elseif "%2" == "d" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with delphinium")
elseif "%2" == "a" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with aconite")
elseif "%2" == "n" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with selarnia")
elseif "%2" == "g" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with gecko")
elseif "%2" == "p" then
Send ("envenom @weaponleft with eurypteria")
Send ("envenom @weaponright with prefarar")
end