turf/newchar
density = 1
layer = 999
Click()
mob/Guest
Login()
src.loc = locate(9,9,1)
if(src.Click(/turf/newchar))
if(fexists("players/[src.key]"))
switch(alert(usr, "Are you sure that you want to overwrite your old Character?", "Character Creation", "Yes","No"))
if("Yes")
sleep(0)
fdel("players/[usr.key].sav")
if("No")
return
Problem description: Alright, My problem is pretty simple: I can't seem to make the player click on the newchar turf and for the switch alert to appear. I'm guessing the problem would be in the "Click", but I can't find a way to fix it. Any help will be much appreciated. Thank you!
By the way, the Click() under the actual turf code is just some stuff I was testing out.
Not sure what exactly if(src.Click()) is supposed to do.