[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.3.0 (0.6.3.0)

Syntax

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

Parameters

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

Exceptions

ExceptionCondition
System..::..ArgumentNullException If cmd, message, or args is null.

See Also