ID:818418
 
(See the best response by LordAndrew.)

mob/Login()
client.view=8
loc=locate(9,9,1)

turf/title
suits_title
name = "Main Menu"
icon = 'Suits title.jpg'
density = 1
layer=100
newChar
name = "New"
layer = 200
density = 1
Click() usr.newChar()

mob/proc
newChar()
alert("Hi")


So i'm trying to create a title screen where the player clicks on the "newChar" turf and it instantly calls the newChar proc. The problem is I doesn't show the "newChar" turf even though I put it on the map on top of the "suit_title" turf.

You need to move 'newChar' back one indent; currently, it is part of suits_title.

The way to think about how indenting works is that anything further to the right than the thing above it is part of, or 'belongs to,' that thing/
Best response
The newChar turf has no icon and therefore isn't clickable under normal circumstances. You'll need to set it to mouse_opacity = 2 in order to make it so that it can be clicked on no matter what.

Or just supply an icon for it.
I apologize for the indent mistake I wasn't paying attention. And thank you LordAndrew it worked like a charm =D.