ID:155172
 
How would i go about making an "force name change" >>>>>BUT<<<<


Allowing the selected player to choose their own entry, and then asking if that is ok?

Example:

Bad name spotted, request that the player change their name > send this request to player > then player sends response back to the admin > in return approves or denies.

Now I know the basic, sending stuff over to other players, but not the how to do this, Please advise?</<<<></<></<<>
Well, you'd use input(), of course.

I think the player could just as easily log out (to avoid having to change their name) if you told them their name was bad, though.

Basically, the admin would choose a player.
The player would have input() used on him/her. The admin would then have an alert or output (<<) to tell them of the new name and then an alert or input for an accept/deny.

You could put this in an infinite loop that only breaks when the admin accepts. That way, it will just keep telling them to change their name until it's accepted. (It would spam the admin a bit, though.)

Example of this looping design: (And a potential usage)
world << "What's with you, [src]?"
for () //infinite loop
world << "[src], what the heck are you doing?!"
if (alert(src, "Are you done yet?", "Just checking, but...", "Yes", "No") == "Yes")
break
world << "[src] still isn't done... =|"
world << "Holy crap, thank goodness [src] is done!"
In response to Complex Robot
While this is very informative, it doesn't exactly answer my question