ORPcmd/README.md
2018-10-16 11:26:54 +02:00

34 lines
1.9 KiB
Markdown

# ORPcmd
A set of new cmd-commands.
Made by http://jriedel.info/
# Installation
This is quite easy. Download the entire master branch OR the branch for the version you want
and extract the version you want out of the ZIP-File. Then, add the path of
the directory to the PATH-Environment-Variable.
# Changelog
| v1 | v2 |
| --- | --- |
| Added xPRINT.exe | Added cTIME.exe |
| Added MAKEANIMATION.exe | Added uTIME.exe |
| Added ANIMATION.exe | |
| Added CURSORVISIBILITY.exe | |
| Added STRLEN.exe | |
| Added xCOLOR.exe | |
| Added PRINT.exe | |
| Added CURSORPOS.exe | |
# Documentation
| Command | Version Added | Syntax | Description |
| ------- | ------------- | ------ | ----------- |
| ANIMATION | v1 | `ANIMATION <MS> <ANIMATION>` | Plays an animation. **MS** specifies the amount of Milliseconds per Frame, and **ANIMATION** is just all the animation frames seperated by spaces. <br /> Example: <br /> ANIMATION 200 U u .. u <br /> Will animate to: <br /> U u .. u U u .. u U u .. u U u .. u U u .. u |
| cTIME | v2 | `cTIME <TIMESTAMP>` | Converts a Millisecond-Unix-Timestamp to human-readable time, ready to output. |
| CURSORPOS | v1 | `CURSORPOS <X> <Y>` | Sets the cursor to the given **X** and **Y** coordinates. **Y** is relative to the top of the entire current output, not necessarily the window. |
| CURSORVISIBILITY | v1 | `CURSORVISIBILITY` | Changes if the Cursor should be visible. |
| | | `CURSORVISIBILITY GET` | Outputs the current Cursor visibility state. |
| MAKEANIMATION | v1 | `MAKEANIMATION <Type> <Sub>` | Outputs a valid animation value for the `ANIMATION` command. <br /><br />Types: <br />`Rotate`:<br />`0 - / - \ \|`<br />`1 - ^ > V <`<br />`2 - + x`<br />`3 - p d b q`<br />`Range`:<br />Returns a set of numbers from 0 to the given number.<br />`Alphabet`:<br />Returns **n** letters of the alphabet. Maximum is 26. |