IFCONTAINS

IFCONTAINS(<haystack>,<needle>)

Type: Action

Category: Control Flow

Permission: N/A

Since Minecraft Version: v1.1

Since Version: v0.8.5

Minor: 8

API: N/A

Patch: 5


Description

The actions following this action will only be executed when the <haystack> contains the <needle>.

Example
IFCONTAINS("Hello World Example","World")
	// "World" is in "Hello World Example"
ENDIF

Related Resources

Changelog
  • Added em v0.8.5: