[This is preliminary documentation and is subject to change.]

Request player to confirm continuing with the command. Player is prompted to type "/ok", and when he/she does, the command is called again with IsConfirmed flag set.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)

Syntax

   
 C# 
public void Confirm(
	Command cmd,
	string message,
	params Object[] args
)

Parameters

cmd
Command
Command that needs confirmation.
message
String
Message to print before "Type /ok to continue".
args
array<Object>[]()[][]
Optional String.Format() arguments, for the message.

See Also