ID:167459
 
how do i make a log out code. I made a code (below) like this but the second i log in my screen stays black and i cant do anything how do i fix this.



mob
logout(mob/M)
del(M)
mob/Logout() 
del(src)


Easy as making a Login()

These procs are case-sensitive, you have to remember that. You aren't making a logout code, you're overwriting the standard Logout() procedure.
In response to Artemio
is it possible to make a logout verb
In response to Mxjerrett
mob/verb/logout() Logout()