
Originally Posted by
KLoOoSH
I downloaded SAM Gearswap and then i added RA Sets to him, but everytime i use /ra i get error 447
here is my gearswap : pastebin.com/v1FgQ7fn
Please help me out!
you dont have ammo_warning_limit defined in your file
the just below that you have an elseif right after an end
Code:
end
elseif spell.type == "WeaponSkill" then
equipSet = sets.WS
remove the end
in lua you need to order you if,elseif,else,end like this
if <rule> then --must have only one
<do something>
elesif <rule> then-- you can have as many as you want but not required
<do something>
else -- there can be only one but not required
<do something>
end -- must have only one
and no mater what the <rule> must always be true
true = true
not false = true
1 == 1 =true
not 'a' == 'b' = true
not 2 == 1 = true
'a' == 'b' = true
not false and true = true
not 1 == 2 and 1 == 1 = true
not 'a' == 'b' and 'b' == 'b' = true
not false or false = true
not 1 == 2 or 1 == 2 = true
not 'a' == 'b' or 'a' == 'b' = true
not true or true = true
not 1 == 1 or 1 == 1 = true
not 'b' == 'b' or 'b' == 'b' = true