ID:148442
 
mob
Jamie
icon = 'Mobs.dmi'
icon_state = "stat"
verb
Talk()
if (usr.stats = 1)
alert("Welcome to the Skate Shop! We just got a HUGE supply of different griptape (top) and decks(bottom) for skateboards!","Jamie")
switch(input("What would you like to buy?","Buy what?") in list("Decks","Griptape","Nothing")
if ("Decks")
input("Which deck would you like to buy?","Deck?") in list("Red","Blue","Light Green","Yellow"))
if ("Red")
alert("Thank you for shopping at the Skate ShoP!")
usr.deck = "Red"
if ("Blue")
alert("Thank you for shopping at the Skate ShoP!")
usr.deck = "Blue"
if ("Light Green")
alert("Thank you for shopping at the Skate ShoP!")
usr.deck = "Light Green"
if ("Yellow")
alert("Thank you for shopping at the Skate ShoP!")
usr.deck = "Yellow"
if ("Griptape")
alert("We are currently sorting these...")
if ("Nothing")
..()
else
set src in oview(1) // You have to be next to him.
set category = "Social"
alert("Hi! I need to ask you a few questions. You don't need to tell the truth, as this is a game.","Jamie")
// Because this is a verb, we need to use usr to identify the player.
// If I'm wrong, Lummox will no doubt correct me. :D
usr.age = input("What is your age?","Age?") as text
usr.height = input("What is your Height?","Height?") as text
usr.weight = input("What is your Weight?","Weight?") as text
usr.eye = input("What is your eye color?","Eye Color?") as text
usr.style = input("What is your preferred skating style?","Style?") in list("Vert","Street","Free-Style")
usr.town = input("What is your home town?","Town?") as text
usr.state = input("What is your home state/ province (If your Country doesn't have any, just put what region like South or North! ^_^)?","State/ Province?") as text
usr.country = input("What is your home country?","Country?") as text
usr.stats = 1

loading Skaterz.dme
Skateboard Shop.dm:10:error: if: missing comma ',' or right-paren ')'
Skateboard Shop.dm:11:error: ): expected }
Skateboard Shop.dm:7:error: location of top-most unmatched {

Skaterz.dmb - 3 errors, 0 warnings (double-click on an error to jump to it)

I can't find the error...any help?
mob
Jamie
icon = 'Mobs.dmi'
icon_state = "stat"
verb
Talk()
if (usr.stats == 1)
alert("Welcome to the Skate Shop! We just got a HUGE supply of different griptape (top) and decks(bottom) for skateboards!","Jamie")
switch(input("What would you like to buy?","Buy what?") in list("Decks","Griptape","Nothing"))
if("Decks")
switch(input("Which deck would you like to buy?","Deck?") in list("Red","Blue","Light Green","Yellow"))
if ("Red")
alert("Thank you for shopping at the Skate ShoP!")
usr.deck = "Red"
if ("Blue")
alert("Thank you for shopping at the Skate ShoP!")
usr.deck = "Blue"
if ("Light Green")
alert("Thank you for shopping at the Skate ShoP!")
usr.deck = "Light Green"
if ("Yellow")
alert("Thank you for shopping at the Skate ShoP!")
usr.deck = "Yellow"
if ("Griptape")
alert("We are currently sorting these...")
if ("Nothing")
..()
else
set src in oview(1) // You have to be next to him.
set category = "Social"
alert("Hi! I need to ask you a few questions. You don't need to tell the truth, as this is a game.","Jamie")
// Because this is a verb, we need to use usr to identify the player.
// If I'm wrong, Lummox will no doubt correct me. :D
usr.age = input("What is your age?","Age?") as text
usr.height = input("What is your Height?","Height?") as text
usr.weight = input("What is your Weight?","Weight?") as text
usr.eye = input("What is your eye color?","Eye Color?") as text
usr.style = input("What is your preferred skating style?","Style?") in list("Vert","Street","Free-Style")
usr.town = input("What is your home town?","Town?") as text
usr.state = input("What is your home state/ province (If your Country doesn't have any, just put what region like South or North! ^_^)?","State/ Province?") as text
usr.country = input("What is your home country?","Country?") as text
usr.stats = 1


mob/var
stats
deck
age
height
weight
eye
style
town
state
country
Try this out. I just added the main mob variables. =P

~~Dragon Lord~~
Tiko587 wrote:
loading Skaterz.dme
Skateboard Shop.dm:10:error: if: missing comma ',' or right-paren ')'
Skateboard Shop.dm:11:error: ): expected }
Skateboard Shop.dm:7:error: location of top-most unmatched {

Skaterz.dmb - 3 errors, 0 warnings (double-click on an error to jump to it)

I can't find the error...any help?

How can you not find the error? You have a line number and a very clear error to fix there: An unclosed parentheses error usually happens on the line just before the one the compiler tells you, so you'll at least be in the right place to see the problem.

In this case, the first line with input() has one too few closing parentheses; you need one more at the end.

Lummox JR