Jump to content

Command Tips: Difference between revisions

From fCraft Wiki
No edit summary
Line 15: Line 15:


==Writing long commands/messages==
==Writing long commands/messages==
:Multiple lines can be merged into one message/command by appending <code> /</code> (a space and a slash) to continue a message on the next line. For example:
:Multiple lines can be merged into one message/command by appending <code>&nbsp;/</code> (a space and a slash) to continue a message on the next line. For example:
  This is is a very long /
  This is is a very long /
  message that had to be /
  message that had to be /

Revision as of 03:41, 31 May 2013

Repeating last-used command

To repeat the last command that you entered, type / (a single slash).

Repeating player names

To re-use the name of a player that you used with a previous command, put - (hyphen/minus) in place of the player/world name. For example:
/Info SomePlayer
/Kick -
/Rank - guest Demoted to guest

Repeating world names

World names can be repeated same way as player names. For example:
/WLoad foo.fcm Foo
/WBuild - builder
/Join -

Writing long commands/messages

Multiple lines can be merged into one message/command by appending  / (a space and a slash) to continue a message on the next line. For example:
This is is a very long /
message that had to be /
split into multiple lines.

Makes...

This is a very long message that had to be split into multiple lines.
Normally commands that work on both online and offline players search the whole database. This reduces the effectiveness of autocompletion. You can limit a command to look for only online players' names by adding ! (exclamation mark) in front of the partial name. For example, there's a player named "Derp9017231923" online, and you want to freeze them. If you do...
/f derp

...the command is likely to find a number of players whose names start with "derp" on the database. However, if you do...

/f !derp

...then the command will only look for online players, and find the one you're looking for.

See Also

Chat Features
Command TipsConstantsColorsEmotesPrivate Messages