ID:175637
 
can u teleport between map files??

and i got:

mob
verb
say()
world << [usr] says,[msg]


turf/grass
icon='turf.dmi'
icon_state="grass"

nothing wrong with that code that i know of because my game was running fine then a error came up:

mob:expected at end of statement

i need to fix it,if any could help with either,i will give credit:)
Kablez wrote:
can u teleport between map files??

and i got:

mob
verb
say()
world << [usr] says,[msg]


turf/grass
icon='turf.dmi'
icon_state="grass"

nothing wrong with that code that i know of because my game was running fine then a error came up:

mob:expected at end of statement

i need to fix it,if any could help with either,i will give credit:)

well for one, for your turf/grass you have your indentation out..
It should be like this

turf/grass
icon='turf.dmi'
icon_state="grass"

and for that say verb...your making it say to the world the persons name, then a [msg] whitch isnt set!..you need this instead:

mob/verb/say(msg as text)
world<<"[usr] says,[msg]"

as you can see i also shortened it.
In response to Wanabe
srry,i guess i was in a hurry 2 retype t,i acually had it the way u wrote it,i was just rushing,about that map tho....