52
edits
Line 64: | Line 64: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
This has three parameters: the player issuing the command, the group in which this command was entered, and the arguments sent for the command. | |||
The first thing we do is check that there is at least an argument given, with <code>if (args.Length < 1)</code>. If there isn't, we show the player the list of possible arguments and we go no further. | The first thing we do is check that there is at least an argument given, with <code>if (args.Length < 1)</code>. If there isn't, we show the player the list of possible arguments and we go no further. |
edits