@@ -62,11 +62,15 @@ Example Out: 5```}{aset;cmd#get;**Tag: __get__**```ruby
62
62
Usage: {lb}get{semi}name{rb}
63
63
Description: Returns the value of tag variable `name`
64
64
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: }
66
70
67
71
t!t test {aset;cmd#if;**Tag: __if__**```ruby
68
72
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: `==`, `!=`, `<`, `>`, `<=`, `>=`, `||`, `&&`
70
74
Example In: {lb}if{semi}<{semi}0{semi}8{semi}Zero is less than eight.{semi}Zero is greater than eight.{rb}
71
75
Example Out: Zero is less than eight.```}{aset;cmd#lb;**Tag: __lb__**```ruby
72
76
Usage: {lb}lb{rb}
@@ -90,7 +94,7 @@ Description: Adds `pattern` to the `direction` of `text` until its length is `si
90
94
Example In: {lb}pad{semi}l{semi}> Vapor{semi}11{semi}-={rb}
91
95
Example Out: -=-=> Vapor```}{aset;cmd#randarg;**Tag: __randarg__**```ruby
92
96
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.
94
98
Example In: {lb}randarg{rb}
95
99
Example Out: World!```}
96
100
@@ -169,7 +173,7 @@ Example In: {lb}substr{semi}Is this working?{semi}9{semi}12{rb}
169
173
Example Out: work```}{aset;cmd#switch;**Tag: __switch__**```ruby
170
174
Usage: {lb}switch{semi}value{semi}case1{semi}content1{semi}[{semi}case2{semi}content2...][{semi}default]{rb}
171
175
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:
173
177
Example Out: ```}{aset;cmd#time;**Tag: __time__**```ruby
174
178
Usage: {lb}time[{semi}format[{semi}timestamp[{semi}timezone]]]{rb}
175
179
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
294
298
8. Channel - `channelid` | `channelname` | `channeltopic`
295
299
9. Server - `serverid` | `servername` | `serverusers`
296
300
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` **
298
302
299
303
```py
300
304
>>> To learn how to create a tag, use 't!t cmd'
@@ -333,6 +337,3 @@ David: `t!t greet`
333
337
Tatsumaki: `Hello David!`
334
338
```py
335
339
>>> To view the full list of reserved tags, do 't!t cmd list'```}
336
-
337
-
338
-
0 commit comments