ID:141908
 
Code:
      usr.loc=locate(47,44,1) <---------*
spawn(3000)
M<<"<center><b> Staff: Times up</center></b>"
usr.loc=locate(44,186,1)


Problem description:
When i use this Verb on Someone it dosent Teleport them to the GM room but it teleports me to Gm Room instead of Teleporting the Person i targeted. how do i fix this?
sptgr()
name = "summon"
desc = "summons a player to the gm room"
var/mob/t = input(src,"Select a player","GM room summon") as mob in world
t.loc = locate(47,44,1)
spawn(3000)
t.loc = locate(44,186,1)
t << "You have been auto returned to the world"

will need retabbing ^_^
In response to Madpeter1231
Code:
mob
troj
verb
Byond_Member_Boost(mob/M in world)
switch(input("What Rank Number?") in list("One","Two","Three"))
if("One")
M << "<b>You have been boosted"
M.level += 500
M.mhealth += 2000
M.health += 2000
M.mrei += 8000
M.rei += 8000
M.mattack += 5000
M.attack += 5000
M.mdefence += 5000
M.defence += 5000
M.reiatsu += 5000
M.shikaidrain = 0
M.bankaidrain = 0
M.flashuse = 300
M.skill()
M<<"You Get 15 Minutes of GM Training!"
src.loc=locate(47,44,1) <---*
spawn(9000)
M<<"<center><b> Staff: Times up</center></b>"
usr.loc=locate(44,186,1)


Problem description:
Whops i didnt post whole code? Lols sorry man i'll post it
In response to Doukashi1
Why would you suddenly use 'src' instead of M? M was working just fine, and you defined M as the one getting the the messages. So to teleport your selected player, M.loc=locate.

:p


EDIT: Why would you switch to 'usr' after using 'src' also? It's all just M :p
In response to Speedro
Ahh sorry Dude it didnt work.. it teleported me there only.. lols
In response to Doukashi1
Code:
mob
troj
verb
Byond_Member_Boost(mob/M in world)
switch(input("What Rank Number?") in list("One","Two","Three"))
if("One")
M << "<b>You have been boosted"
M.level += 500
M.mhealth += 2000
M.health += 2000
M.mrei += 8000
M.rei += 8000
M.mattack += 5000
M.attack += 5000
M.mdefence += 5000
M.defence += 5000
M.reiatsu += 5000
M.shikaidrain = 0
M.bankaidrain = 0
M.flashuse = 300
M.skill()
M<<"You Get 15 Minutes of GM Training!"
M.loc=locate(47,44,1) <---*
spawn(9000)
M<<"<center><b> Staff: Times up</center></b>"
M.loc=locate(44,186,1)


Problem description:
Does Anyone know what my prob is? because When i use this Verb on Someone it dosent Teleport them to the GM room but it teleports me to Gm Room instead of Teleporting the Person i selected. how do i fix this?
In response to Doukashi1
Instead of mob/M in world, add this:
for(var/mom/M in world)
if(!M.client||M==src)return
//Continue with it here...