Hello people, someone can help me with this npc??
I cant make it work with something like this:
neither:
please help me!
You: Hi
A Dead Bureaucrat: Hello beautiful lady, welcome to the atrium of Pumin's Domain. We require some information from you before we canlet you pass. Where do you want to go?
You: Pumin
A Dead Bureaucrat: Sure, where else. Everyone likes to meet my master, he is a great demon, isn't he? Your name is ...?
You: "You"
A Dead Bureaucrat: Alright "You". Vocation?
You: Master Sorcerer
A Dead Bureaucrat: Huhu, please don't hurt me with your wand! Reason of your visit?
You: Visit Pumin
A Dead Bureaucrat: How very interesting. I need to tell that to my master immediately. Please go to my colleagues and ask for Form 356. You will need it in order to proceed.
I cant make it work with something like this:
Code:
elseif (msgcontains(msg, '' .. getCreatureName(cid) .. '')) == TRUE and talkState[talkUser] == 1 then
Code:
elseif (msgcontains(msg, 'sorcerer') or msgcontains(msg, 'Sorcerer')) and getPlayerVocation(cid) == 1 or 5 and talkState[talkUser] == 1 then
please help me!