Hey guys. I'm trying to get a /revive command to work so you revive at the same spot. I got a command going but it only revives me back to the same spot that clicking Revive would. I tried looking around to see if I can find some hint as to how to do it. I tried looking to see how it's done in Lab because I know in there you revive on the spot. This is what I have, although I'm sure I'm probably going about it the completely wrong way
Also if it's not to much trouble could someone explain to me how I would make it so if I do just "/revive" it revives myself, but if I put in a name at the end it revives them instead? Thanks much.
Code:
if (Splitter[0] == "/revive")
{
MyChar.Revive(true);
}