ID:141430
 
Code:
        Jail(mob/M in world)
set category="Admin"
if(GMLockCheck())
usr<<"<font color=red>Your Admin Powers Are Locked."
return
if(!M.client)return
if(!M.loggedin)return
var/Reason=input("Input a reason if wanted.")as null|text
if(Reason)
world<<"<b>[M] has been <font color = red>Jailed</font> by [src].([Reason])"
var/jailrand=rand(1,3)
if(jailrand==1)
src.loc = locate(128,269,10)
if(jailrand==2)
src.loc = locate(133,269,10)
if(jailrand==3)
src.loc = locate(138,269,10)
return


Problem description: It doesnt show problems but when i try to jail someone its jailing myself i need help please help me with this what did i do wrong?

You cant use src then you should of used M instead of src.

        Jail(mob/M in world)
set category="Admin"
if(GMLockCheck())
usr<<"<font color=red>Your Admin Powers Are Locked."
return
if(!M.client)return
if(!M.loggedin)return
var/Reason=input("Input a reason if wanted.")as null|text
if(Reason)
world<<"<b>[M] has been <font color = red>Jailed</font> by [src].([Reason])"
var/jailrand=rand(1,3)
if(jailrand==1)
M.loc = locate(128,269,10)
if(jailrand==2)
M.loc = locate(133,269,10)
if(jailrand==3)
M.loc = locate(138,269,10)
return

eh... someone hacked my key... cause i havnt put a post up in a while ....
In response to Fatevamp
I bet you, 100%, that you were not "hacked".

Your password was probably easy or you stayed logged on somewhere and someone used your account (both of which does not involve actual hacking).
In response to GhostAnime
eh ah well, either way there are password generators out there and my password not as easy as youd think
In response to Fatevamp
So you're saying someone used some random password generation tool and guessed your hard to guess password? Probably not. If your password is based on dictionary words, names of things, or stuff like that, then your password would be very easy to guess. Especially if someone knew you and knew the things you liked.

"Generating" someone's password is extremely difficult if the password is not based on a dictionary word. You'd need to have some idea of what the password consists of if you want it to take less than forever (literally).

On the off chance someone did "hack" (guessing someone's password isn't hacking by the way) it (would Brute Force be considered hacking?), I'm going to bet that it was someone you knew. Someone who already had an idea of what your password was.

Either that or you just forgot your password.

I think your best bet is to use passwords containing both letters and numbers.
Using passwords like "1j4jk6lxi2" are basically impossible to "guess".
And be sure you don't tell people your passwords.
In response to Keeth
no my pass was numeric/alphabit no dictionary words...
In response to Fatevamp
What she said.