ID:261392
 
When I use the verb boot on another player it boots me instead of them. Help please
    Boot(mob/M as mob in world)//booting me
set category = "Mod"
world << "[M] has been booted by [usr]!"
M.Logout()



Little Sally wrote:
When I use the verb boot on another player it boots me instead of them. Help please
    Boot(mob/M as mob in world)//booting me
> set category = "Mod"
> world << "[M] has been booted by [usr]!"
> M.Logout()

Not really sure as I'm about to leave and go home but off the top of me head something like:

replace M.Logout() with: del M

LJR
This could be happening because of one thing.. Do you happen to be the only person (mob) in the game? If not I dont know. As LordJR said, try del(M).

-Rcet
In response to LordJR
Thank you del M worked :P
My hunch is that you do not know just where to use usr and src. Your logout() code might look like this, as a concequence:

mob/Logout()
world << "[usr] logs out!"
del usr

In which case, the person who calls logout() logs out, instead of the person who owns logout. Make sure to get this right! I learned this lesson the hard way.