Code:
mob
icon = 'person.dmi'
mob
icon = 'person.dmi'
var
hp = 500
rei 500
str =100
def =100
rpw = 100
turf
grass
icon = 'person.dmi'
icon_state = "grass"
turf
water
icon = 'person.dmi'
icon_state = "water"
density = 1
world
name = "My First Game."
turf = /turf/grass
mob
Login()
mob
Login()
usr.icon_state = input("What gender?") in list ("male","female")
usr.Move(locate(20,15,1)
Problem description:
missing comma or right-paren
list started here
ID:141424
Mar 12 2009, 9:25 am
|
|
mob |
Note it's safer to use src in Login() than usr. Well, this truth is quite universally similar whenever you can use both vars to refer to the same object, but will tend to be especially important in [non-mouse] procs.
In addition to fixing what Schnitzel pointed out, you should also take care when using Move() like this, as it can fail (by default, due to density matters), which you don't want to happen in this situation as your player will be left location-less. This isn't the best method available, but simply making sure loc has been changed to a good value and forcing it to if it hasn't, will work. var/T = locate(20,15,1) |
Secondly, why do you have two mob/Login() ? Unnecessary >_>
Thirdly, I don't know why you're getting that error when that input() proc is perfectly fine. Try going into the .dm file just before that one (if there is one) and looking for anything like input() and whatnot that might be missing parentheses.