YOU are currently visiting Milovana, enjoy your stay!

Announcement: It's the Interactive TOTM for May 2026 [EOS] posted 2 days ago

This is: Home > Help > Flashtease

General

Commands

Visual layout

  • horiz() - Arrange multiple elements horizontally
  • mult() - Create multiple elements in one spot
  • page() - A simple page layout generator
  • vert() - Arrange multiple elements vertically

Content elements

Interface elements

  • buttons() - Display a custom list of buttons
  • go() - Display a single button
  • yn() - Display two buttons for a yes/no question

Control flow

  • delay() - Create a timer and display it
  • goto() - Forward the user to another page

Control flow - PCM2 style

Instructions

  • stroke() - Demonstrates stroking speed

Utility functions

Parameters

The number and order of parameters is important. For example: The third parameter of the page command is always the visible controls you want to add to the page. But what if you want to use the third parameter, but not the second one? To solve this, parameter can also be referenced by name:

backOnTrack#page(
	'So, you haven\'t got enough yet, then? Ok, stroke for two minutes.',
	action:delay(2min,circular#)
);

In the example the "action:" tells Nyx that you want it to use the following as the command's third parameter.

Watch out!

You cannot add a parameter twice!

backOnTrack#page(
	'So, you haven\'t got enough yet, then? Ok, stroke for two minutes.',
	action:delay(2min,circular#),
	action:go(canttakeit#)
);

Instead use combination commands like mult(), vert() and horiz(), like so:

backOnTrack#page(
	'So, you haven\'t got enough yet, then? Ok, stroke for two minutes.',
	action:vert(delay(2min,circular#),go(canttakeit#))
);