- Joined
- Sep 6, 2020
- Messages
- 60
- Reaction score
- 39
Text Codes may be confusing at first, but once you know how they work, they can be extremely useful!
Essentially text codes change the name of a variable, making it dynamic. It changes the name, not the value.
For example, say we have a variable called %default money. The variable you're using here is actually RyanLand money, because that's the name of the default target.
All text codes can also be nested inside of eachother.
Here's a spoiler of all available text codes and their explanations:
list = [ a, b, c ]
ad = 100
%index(list,1)d returns 100
Does not follow PEMDAS/OoO. Supports the following operations:
a = 1
1b = 2
%var(a)b returns 2
Hope this helped you, and feel free to ask any questions! :)
Essentially text codes change the name of a variable, making it dynamic. It changes the name, not the value.
For example, say we have a variable called %default money. The variable you're using here is actually RyanLand money, because that's the name of the default target.
All text codes can also be nested inside of eachother.
Here's a spoiler of all available text codes and their explanations:
- %damager
- %default
- %index( list variable name , index )
list = [ a, b, c ]
ad = 100
%index(list,1)d returns 100
- %killer
- %math( expression )
Does not follow PEMDAS/OoO. Supports the following operations:
- Sum (+)
- Difference (-)
- Product (*)
- Quotient (/)
- Remainder (%)
- %projectile
- %random( minimum , maximum )
- %round( number to round )
- %selected
- %shooter
- %uuid
- %var( variable name )
a = 1
1b = 2
%var(a)b returns 2
- %victim
Hope this helped you, and feel free to ask any questions! :)
Last edited: