It keeps on saying
InnKeeper.dm:7:error: if: missing comma ',' or right-paren ')'
Innkeeper
icon = 'npc.dmi'
icon_state = "innkeeper"
verb
SleepAtInn()
switch(input("Would You like to rest for 25 Gold?") in list("yes","no")
if ("yes")
usr.sight = 1
sleep(40)
usr << "You have a good nights sleep."
usr.gold -= 20
usr.sight = 0
usr.health = usr.maxhealth
if ("no")
ID:149001
![]() Jul 29 2002, 9:05 pm
|
|
![]() Jul 30 2002, 8:06 am
|
|
You're missing an ) at the end of switch(input())
|
Innkeeper Nadrew forgot to bump the "Yes" and "No" because it's in a switch statment. RaeKwon |