mob
Login()
world << "[usr.ckey] has joined Dunglas."
spawn
src.DunglasStart()
proc/DunglasStart()
var
prompt_title = "Load slot"
help_text = "What character do you want to load?"
Problem description:
No matter how I try to put in Login() ingame after mob, it gives me a completely dark screen with no map loading and the rest of the other things aren't executed. I am fairly new to coding with dm and would appreciate some help.
..() will make Login carry out its default programming, that spawn also was unnecessary and not properly used. Spawn() should only be used when necessary as it can be rather cpu intensive. Sleep() in almost every case is a better choice then Spawn().
Also, nothing is happening because both your login and dunglastart() aren't really trying to do anything. What would you like to accomplish when a player logs in?