1268995
Member
- Joined
- Sep 9, 2010
- Messages
- 422
- Reaction score
- 13
Hello guys... i am talking too much in this forum, han... X
8.60 - this is a MOD
Well, i have a simple task system, something like that:
When i go to npc tasker, i say: hi, task, dragon lord, yes... OK, now i am making dragon lord task
When i go to npc tasker and say, hi, task, dragon lord vip II... the npc say: say the correct name of task...
So the problem is that when i say "dragon lord vip II", the code only read "dragon lord", and because i wrote more than only "dragon lord", appear the message "say the correct name of task".
So i need something that make sensitive letters... to make the code read all that i said (dragon lord vip II), and not only (dragon lord).
Do u guys understood? Thanks!
8.60 - this is a MOD
Well, i have a simple task system, something like that:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Simple Task" version="3.0" author="Vodkart" contact="xtibia.com" enabled="yes">
<config name="task_func"><![CDATA[
tasktabble = {
["dragon lord"] = {monster_race={"dragon lord"}, storage_start = 200201, storage = 91001,count = 1000,exp = 10000000,money = 100000},
["dragon lord vip II"] = {monster_race={"dragon lord vip ii"}, storage_start = 200202, storage = 91002,count = 1500,exp = 15000000,money = 200000},
(more code down here)
When i go to npc tasker, i say: hi, task, dragon lord, yes... OK, now i am making dragon lord task
When i go to npc tasker and say, hi, task, dragon lord vip II... the npc say: say the correct name of task...
So the problem is that when i say "dragon lord vip II", the code only read "dragon lord", and because i wrote more than only "dragon lord", appear the message "say the correct name of task".
So i need something that make sensitive letters... to make the code read all that i said (dragon lord vip II), and not only (dragon lord).
Do u guys understood? Thanks!