ID:143901
 
Code:
obj
help
icon = 'menu.dmi'
icon_state = "help"
name = "help"
DblClick()
var
whelp = ("with what do you need help ?") in list ("getting an animal","catching an animal","talking to npc","healing your animals","buying things","nothing")
if(whelp == "getting an animal")
usr << "walk to the building in the upper left corner of the village where you start, this is the lab"
usr << "walk to an egg and dubble click the egg, then choose yes if you want that animal and no if you don't want it"
if(whelp == "catching an animal")
usr << "first bug an egg"
usr << "while your in battle select the option use item, then select ropasimon egg"
usr << "a small tip, first weaken the enemy animal, you can catch them faster when they have less healt"
if(whelp == "talking to npc")
usr << "to talk to a npc which isn't a trainer, dubble click on the npc"
usr << "if the npc is a trainer just walk against the trainer"
if(whelp == "healing your animals")
usr << "you can heal your animals in 3 ways:"
usr << "1: use the healing machine in the lab"
usr << "2: go to a ropasimon center"
usr << "3: use a potion"
if(whelp == "buying things")
usr << "to buy things, go to a markt and talk to the shopkeeper"


Problem description:
when you dubble click the obj, it isn't working. how can I fix it ?
*edit*
I forgot the input
obj/help
icon = 'menu.dmi'
icon_state = "help"
name = "help"
DblClick()
switch(input(usr,"with what do you need help ?")as null|anything in list("getting an animal","catching an animal","talking to npc","healing your animals","buying things","nothing"))
if("getting an animal")
usr << "walk to the building in the upper left corner of the village where you start, this is the lab"
usr << "walk to an egg and dubble click the egg, then choose yes if you want that animal and no if you don't want it"
if("catching an animal")
usr << "first bug an egg"
usr << "while your in battle select the option use item, then select ropasimon egg"
usr << "a small tip, first weaken the enemy animal, you can catch them faster when they have less healt"
if("talking to npc")
usr << "to talk to a npc which isn't a trainer, dubble click on the npc"
usr << "if the npc is a trainer just walk against the trainer"
if("healing your animals")
usr << "you can heal your animals in 3 ways:"
usr << "1: use the healing machine in the lab"
usr << "2: go to a ropasimon center"
usr << "3: use a potion"
if("buying things")
usr << "to buy things, go to a markt and talk to the shopkeeper"


I beleave that should work.

- Dark
In response to Dark Emrald
it worked, after a posted the topic I found the problem, but thanks any way