The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Command to move or assign a character
Author Message
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #14
RE: Command to move or assign a character
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.

[Image: 2nis46r.jpg]
12-01-2012 01:37 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


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

Forum Jump:


User(s) browsing this thread: 2 Guest(s)