ond
Veteran OT User
I need to add a delay of one second in msgcontains.
Server: Avesta 0.6.3 [7.72] = No NPC Chat.
Problem is that when I say something, the NPC (using msgcontains) respond on 0.01 second.
Edit:
Solution had nothing to do with msgcontains, it was that selfSay originally doesn't have a delay.
A solution to this is using npcHandler:say("Message"). The delay of this can be changed in npchandler.lua
Server: Avesta 0.6.3 [7.72] = No NPC Chat.
Problem is that when I say something, the NPC (using msgcontains) respond on 0.01 second.
Edit:
Solution had nothing to do with msgcontains, it was that selfSay originally doesn't have a delay.
A solution to this is using npcHandler:say("Message"). The delay of this can be changed in npchandler.lua
Last edited: