SphereCommunity
Command to move or assign a character - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Command to move or assign a character (/Thread-Command-to-move-or-assign-a-character)

Pages: 1 2


RE: Command to move or assign a character - Avatar - 04-15-2012 05:42 PM

You do that by using info menu. In in-game, just type .info command that at the top of that menu there acct. If you change that you can transfer char to whather acc you want.


RE: Command to move or assign a character - Terrikate - 04-16-2012 12:35 AM

I don't know which version of .info you have, but even with the default version that runs the command TRYP 6 INPDLG =ACCOUNT 30 doesn't get what i want.

Invalid set: ACCOUNT = ACCOUNT NAME INSERTED


RE: Command to move or assign a character - wuffel - 04-16-2012 12:44 AM

I never tried to change an already assigned account. Maybe - as a workaround - you can "clone" a character as an npc, and assign this new char to the account you want.


RE: Command to move or assign a character - Mordaunt - 12-01-2012 01:37 AM

Sorry to Drag up an old post here but I can answer this.

What you use is .control

If you do this on a player you will actually switch the character to your account and yours to the players.
To switch player 1's character onto player 2's account it's as simple as.

.control player 1

then

.control a character on player 2's account .

However in doing this.
Player 1 gains your characters, so is it VITAL that you either make a new character or nuke the one you are on. You must ensure that all flags are reset before the switch, as they will transfer with the character to the other account. This includes the INVUL flag.

Staff privs do not transfer as long as those privs were set correctly on the account and not on the player as an individual.

The end result of will be that.

Player 1 will have the character previously on the GM account on their account.
Player 2 will have the character previously on player 1's account.
GM account will have the player previously on player 2's account.
with 1 extra step of doing .control on player 1 again the gm would have their character back

This can be done ingame without any additional scripting required by any staff member with access to the .control function.
You could probably write a function to automate this whole affair but for the amount of times I have ever actually had to do it, it just doesn't seem worth the time and effort.



RE: Command to move or assign a character - Extreme - 12-07-2012 10:03 AM

Like that?
PHP Code:
ARGS = <ACCOUNT.NAME>
SERV.NEWCHAR C_MAN
NEW.P Britain
REF1 
= <NEW>
SERV.ACCOUNT.<ARGS>.CHARS += 1
SERV
.LOG New Player <SERV.ACCOUNT.<ARGS>.CHARS> for Account <ARGScreated.
SERV.ACCOUNT.<ARGS>.CHAR.<SERV.ACCOUNT.<ARGS>.CHARS> <REF1>
REF1.ACCOUNT <ARGS