Sum (Function) — Skript
Addon: Skript · Category: Function
Syntax
sum(ns: objects) :: numberDescription
Sums a list of numbers.
Examples
sum(1) = 1
sum(2, 3, 4) = 9
sum({some list variable::*})
sum(2, {_v::*}, and the player's y-coordinate)Skript Documentation is the best place to find the official skript documentation and feature latest working addons for the latest version of Skript.
Full documentationBrowse all docsAddon: Skript · Category: Function
sum(ns: objects) :: numberSums a list of numbers.
sum(1) = 1
sum(2, 3, 4) = 9
sum({some list variable::*})
sum(2, {_v::*}, and the player's y-coordinate)