• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Greet without parameter

Tarielle

New Member
Joined
Nov 4, 2007
Messages
214
Reaction score
0
Location
Sweden
Hi, how can I at the same time use Jiddos NPC system and have the NPC greeted by the LUA script?

I mean like putting:
PHP:
if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then
selfSay('Hi, ' .. getCreatureName(cid) .. '.')
talk_state = 0
inside the script without ruin the other functions...
 

Similar threads

  • Question Question
Replies
0
Views
174
Back
Top