🎶
🎶
🎶
🎶
ByteSkript Language Specification
GitHub
Search…
🎶
Introduction to ByteSkript
Language Syntax
Members
Entries
Sections
Effects
Value Control Effects
Conditional Effects
Flow Control Effects
Generic Effects
Meta-Effects
Expressions
Events
namespaces
Skript
Unsafe
Tutorials
Getting Started
Creating a Library
Contributing to ByteSkript
Interacting with Java
Creating Custom Syntax
Files
Action (ask)
Script (bsk)
Config (csk)
Powered By
GitBook
Value Control Effects
A set of standard effects for altering values.
Add
1
add
%
Object
%
to
%
Referent
%
2
add
"hello"
to
{
list
}
Copied!
Adds the first value to the second, assuming it is a modifiable collection type.
This is not a maths effect. It is used for controlling lists and other collections.
Remove
1
remove
%
Object
%
from
%
Referent
%
2
remove
"hello"
from
{
list
}
Copied!
Removes the first value from the second, assuming it is a modifiable collection type.
This is not a maths effect. It is used for controlling lists and other collections.
Set
1
set
%
Referent
%
to
%
Object
%
2
set
{
var
}
to
"hello"
3
set
{
number
}
to
6
4
set system property
"blob"
to
"hello"
Copied!
Sets the first expression to the second value. This will produce an error if the expression cannot be modified.
Not all expressions are modifiable.
Delete
1
delete
%
Referent
%
2
delete system property
"blob"
Copied!
Deletes the value of the given expression. This will produce an error if the expression cannot be modified.
Not all expressions are modifiable.
Language Syntax - Previous
Effects
Next
Conditional Effects
Last modified
3mo ago
Copy link
Contents
Add
Remove
Set
Delete