Book Pages (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.2-dev31, 2.7 (changers)

Syntax

[all [[of] the]|the] [book] (pages|content) of %itemtypes%

Description

The pages of a book (Supports Skript's chat format) Note: In order to modify the pages of a new written book, you must have the title and author of the book set. Skript will do this for you, but if you want your own, please set those values.

Examples

on book sign:
	if the number of pages of event-item is greater than 1:
		message "The second page of the authored book is: %page 2 of event-item%"
set page 1 of the player's held item to "This page was written with Skript!"

View source