ID:171522
 
if u r a alien it takes u to marine base....
mob
verb
Back()
usr<<"<font size=2>You are now back from afk"
world<<"<font size=2>[usr.key] is back from afk"
usr.frozen=0
usr.verbs -= /mob/verb/Back
usr.verbs += /mob/verb/AFK
if(usr.alien ==1)
usr.loc=locate(23,23,3)
else
usr.loc=locate(2,2,2)

...no smart remarks...please..
Umm your putting the wrong loc I think..What are we supposed to do we dont know where 23,23,3 is.
In response to Dession
all that is fine i think its the if alien ==1 else and all that crap
In response to CodingSkillz2
Look codingskillz we have no idea what loc of the alien place is..

Here do this:
mob/verb/Loc()
src << "[src.x],[src.y],[src.z]"


Goto the place you want the aliens to come to when they go non-afk and press this verb it will tell you the location then put it into your code.
In response to Dession
dude....when they go non afk if they r alien
            if(usr.alien ==1)
usr.loc=locate(23,23,3)

and else..which would be soldier
                usr.loc=locate(23,23,3)
else
usr.loc=locate(2,2,2)

whats so hard about that?
In response to CodingSkillz2
whats so hard about that?

Your the one asking for help..What I posted before will help. Im guessing the problem is you dont know about variables and your never setting it to 1.
In response to Dession
when i log in as a alien..when i press back it takes me to marines base...instead of aliens.....I cant explain it any better than that
In response to CodingSkillz2
The problem probably is you arent setting usr.alien to 1 or the loc is wrong.
In response to Dession
i checked everyhting....i'm just going to recode the dm..i had to recode my whole game because ds have been giving me these wierd errors lately..
In response to CodingSkillz2
Good it's probably buggy and copy/pasted anyway.
In response to Dession
I made that code by myself...u cant find any other afk code like it so stop trying to make me look bad.
In response to CodingSkillz2
You're doing a fine job by yourself.
mob
verb
Back()
//no need to tell the player he is back when your about to tell the world.
world<<"<font size=2>[usr.key] is back from afk"
usr.frozen=0
usr.verbs -= /mob/verb/Back
usr.verbs += /mob/verb/AFK
if(usr.alien ==1)//either A.you never set their alien to 1
usr.loc=locate(23,23,3)//or B.this is the wrong location
else
usr.loc=locate(2,2,2)
In response to SuperAntx
I already said what you just posted...
In response to Dession
Yeah, but you were being an asshole when you posted.
In response to SuperAntx
Umm i didnt mean to start anything......but i recoded the same thing by MYSELF NO PASTING AND COPYING and it worked...wierd bug but oh well...i'm gonna post 2 more questions sense the attention is on me...
In response to SuperAntx
Actually no I wasn't.