Skip to content

molnarmark/Pipey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The tiny (439 bytes) way of using pipes in MTA.

Getting Started

As a Resource

Pipey comes as a resource with an exported function that is getPipey, which makes a Pipey instance.

Or

You can drop pipey.lua into your project as it is 439 bytes in total.

Usage

First, create a Pipey instance by using the following:

local Pipey = loadstring(getPipey())()

Next, use it!

Pipey
  :pipe(firstFunction)
  :pipe(secondFunction)
  :pipe(thirdFunction)

Pipey:process()

You can also take a look at the example.lua file.

License

Pipey comes licensed under the MIT License.

Fancy buying me a beer?

If this project was helpful to you, you can buy me a beer if you feel like doing so. 🙂

paypal

Releases

No releases published

Packages

No packages published

Languages