Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- So, the function is used, the command is executed only if the user's message contains the number of arguments (words)
- This is useful when doing a : ban,kick or clear command.
- Use : $argsCheck[count;error message]
- The "count" is the number of arguments that must be written for the command to be executed.
- ⚠ Attention if >2 is specified, 2 arguments must be specified with a space between them
- Example : !ban
- $argsCheck[>1;Please @ mention a user]
- $argsCheck[>2;Please provide reason for ban]
Advertisement
Add Comment
Please, Sign In to add comment