ziggy46802
Active Member
- Joined
- Aug 19, 2012
- Messages
- 418
- Reaction score
- 27
Heres the talkaction
And heres the error code
[15:14:27.891] [Error - LuaInterface::loadFile] data/talkactions/scripts/race/thedwarf.lua:3: 'then' expected near '='
LUA:
function onSay(cid, words, param, channel)
if getPlayerStorageValue(cid, 25001) == 1 and getPlayerLevel(cid) => 5 and getPlayerStorageValue(cid, 26001) <= 6 then
doPlayerPopupFYI(cid, "You prayed to the dwarven God and received a bonus to your max health and a bonus to your shielding stat.")
setStorageValue(cid, 26001, 5)
setCreatureMaxHealth(cid, ((getCreatureMaxHealth(cid))+15))
doPlayerAddSkillTry(cid, 5, 125)
end
return true
end
And heres the error code
[15:14:27.891] [Error - LuaInterface::loadFile] data/talkactions/scripts/race/thedwarf.lua:3: 'then' expected near '='