Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.82 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.82 KB

Echo Package

The echo package provides a means of testing triggers via the command line with four command aliases; `echo, `cecho, `decho, `hecho.

All act as if the given text came from the game itself and will fire any matching triggers.

See Triggers for further information on matching text.

`echo Alias

Displays text on the screen and tells all matching triggers to fire. For coloring use one of the other functions mentioned below.

-- examples
> `echo text - displays text on the main screen and tells all matching triggers to fire
> `echo This is a sample line from the game$$And this is a new line.

See echo, feedTriggers,

`cecho Alias

Like echo, but you can add color information using color names and ANSI values.

-- example: color format is <foreground:background>
> `cecho <green:red>green on red<r> reset$$<124:100>foreground of ANSI124 and background of ANSI100<r>

See cecho, cfeedTriggers.

`decho Alias

Like cecho, but you can add color information using <r,g,b> format.

-- example
> `decho <0,128,0:128,0,0>green on red<r> reset

See decho, dfeedTriggers.

`hecho Alias

Like cecho, but you can add color information using hex #RRGGBB format.

-- example
> `hecho #008000,800000green on red#r reset

See hecho, hfeedTriggers.