• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[TalkAction] Help!

rashas

New Member
Joined
Sep 28, 2008
Messages
45
Reaction score
0
Hello,I created script which removing Player Health and mana to 1
Lua:
function onSay(cid, words, param)
	doCreatureAddHealth(cid,-(getCreatureHealth(cid))+1)
	doCreatureAddMana(cid,-(getCreatureMana(cid))+1)
	return TRUE
end
(it's very very simple) and I have a one problem,when I'm adding this line to talkactions.xml
Code:
<talkaction words="noob" script="onehpandmana.lua" />
and when I'm saying "noob",the script works fine,but when I say "lol,noob" it isn't work,how to fix it?
 
Last edited:
Back
Top