STRIP
STRIP(<&target>,<text>)
Type: Action
Category: Calculations
Permission: N/A
Since Minecraft Version: v1.3
Since Version: v0.9
Minor: 9
API: N/A
Patch: N/A
Description
Strips all formatting codes from the specified <text> and assigns the result to <&target>.
Returns the result.
Example
&string = "§eyellow §r§lbold"
STRIP(&variant1,%&string%)
&variant2 = STRIP(%&string%)
// Both output "yellow bold"
LOG(%&variant1%)
LOG(%&variant2%)
Useful Links
Changelog
- Added em v0.9: