• 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!

Help with NPC

Dankoo

Active Member
Joined
Sep 4, 2010
Messages
1,007
Reaction score
27
Is there a function that replaces this function in NPC

LUA:
if msgcontains(msg,'example') then

with a exact match, like

LUA:
if msg = (msg,"example") then

So I can use two similar messages, like

LUA:
if msg = (msg,'example') then
do this
if msg = (msg,'example 2') then
do that

Because with msgcontains, if I write anything with "message" word in it, it will recognize as teh command u know
 
Last edited:
Hoho it worked

just one more thing

Is there a function to put a delay between actions of the script? like

LUA:
selfSay('something',cid)
wait 1000
doPlayerAddItem(cid,2160,1)

rep+ cyk, thx a lot
 
Back
Top