Skip to content

Commit ed02715

Browse files
Add stuff.
1 parent 8f1e622 commit ed02715

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

data/cmd_values.txt

+9-8
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,15 @@ Example Out: 5```}{aset;cmd#get;**Tag: __get__**```ruby
6262
Usage: {lb}get{semi}name{rb}
6363
Description: Returns the value of tag variable `name`
6464
Example In: {lb}get{semi}count{rb}
65-
Example Out: 12```}
65+
Example Out: 12```}{aset;cmd#space;**Tag: __space__**```rb
66+
Usage: {lb}space[;number]{rb}
67+
Description: Returns spaces amounting to `number`. Defaults to 1. (for escaping purposes)
68+
Example In: {lb}space{semi}5{rb}
69+
Example Out: }
6670

6771
t!t test {aset;cmd#if;**Tag: __if__**```ruby
6872
Usage: {lb}if{semi}comparator{semi}value1{semi}value2{semi}then{semi}else{rb}
69-
Description: Compares `value1` to `value2` using `comparator` If true returns `then`, if false returns `else` Valid compators are: `==`, `!=`, `<`, `>`, `<=`, `>=`, `||`, `&&`
73+
Description: Compares `value1` to `value2` using `comparator` If true returns `then`, if false returns `else` Valid compators are: `==`, `!=`, `<`, `>`, `<=`, `>=`, `||`, `&&`
7074
Example In: {lb}if{semi}<{semi}0{semi}8{semi}Zero is less than eight.{semi}Zero is greater than eight.{rb}
7175
Example Out: Zero is less than eight.```}{aset;cmd#lb;**Tag: __lb__**```ruby
7276
Usage: {lb}lb{rb}
@@ -90,7 +94,7 @@ Description: Adds `pattern` to the `direction` of `text` until its length is `si
9094
Example In: {lb}pad{semi}l{semi}> Vapor{semi}11{semi}-={rb}
9195
Example Out: -=-=> Vapor```}{aset;cmd#randarg;**Tag: __randarg__**```ruby
9296
Usage: {lb}randarg{rb}
93-
Description: Returns a random argument provided by the tag caller.
97+
Description: Returns a random argument provided by the tag caller.
9498
Example In: {lb}randarg{rb}
9599
Example Out: World!```}
96100

@@ -169,7 +173,7 @@ Example In: {lb}substr{semi}Is this working?{semi}9{semi}12{rb}
169173
Example Out: work```}{aset;cmd#switch;**Tag: __switch__**```ruby
170174
Usage: {lb}switch{semi}value{semi}case1{semi}content1{semi}[{semi}case2{semi}content2...][{semi}default]{rb}
171175
Description: Finds the `case` that is equal to `value`, and returns the corresponding `content` If no equal `case` is found will return `default`
172-
Example In:
176+
Example In:
173177
Example Out: ```}{aset;cmd#time;**Tag: __time__**```ruby
174178
Usage: {lb}time[{semi}format[{semi}timestamp[{semi}timezone]]]{rb}
175179
Description: Returns a UNIX `timestamp` in a certain time `format` and in a certain TZ `timezone` Default of `format` is `LTS`, for `timestamp` is the current time and for `timezone` is `Asia/Singapore`
@@ -294,7 +298,7 @@ Use `t!t cmd [tag]` to get more info on a reserved tag, for example: `t!t cmd us
294298
8. Channel - `channelid` | `channelname` | `channeltopic`
295299
9. Server - `serverid` | `servername` | `serverusers`
296300
10. User - `usercreatedat` | `usercredits` | `userdiscrim` | `userid` | `username` | `usernick` | `userperms` | `userpoints` | `userscore ` | `userrep` | `userrole` | `userxp`
297-
11. Noparse - `lb` | `rb` | `nl` | `semi` **
301+
11. Noparse - `lb` | `rb` | `nl` | `semi` | `space` **
298302

299303
```py
300304
>>> To learn how to create a tag, use 't!t cmd'
@@ -333,6 +337,3 @@ David: `t!t greet`
333337
Tatsumaki: `Hello David!`
334338
```py
335339
>>> To view the full list of reserved tags, do 't!t cmd list'```}
336-
337-
338-

0 commit comments

Comments
 (0)