-
Notifications
You must be signed in to change notification settings - Fork 0
Repeat command
Alvin Cheng edited this page Feb 12, 2023
·
2 revisions
This is the repeat command, this command allows a certain set of functions or commands to be repeated a certain amount of times specified in the first argument. In other words, the function in parameter 2 will be run however many times specified in the first parameter. Here is an example below!
You can also declare and call functions in the second parameter if you want to make your codebase a lot cleaner. More information regarding functions and methods in chat script can be found here.
repeat TIMES $FUNC_FUNCTION;
- Home
- Setup
- Print command
- Variables and set command
- Append command
- Array command
- Call command
- Clear command
- Compare command
- Concat command
- Create command
- Delay command
- Delete command
- Disable command
- Enable command
- Exit command
- Export command
- Fetch command
- Functions and the function command
- Get command
- If statements
- Import command
- Length command
- Load string command
- Object command
- POST command
- Prompt command
- Read command
- Remove command
- Repeat command
- Shell command
- Write command
- Calculate command
- Sin cos and tan commands
- PI command
- Rand command
- Round command
- Sqrt command
- Delete message command
- Get messages command
- Follow user command
- Get public rooms command
- Get rooms command
- Join room command
- Login command
- On message command
- Remove room command
- Room exists command
- Send message command
- Signout command
- Final words&thoughts