Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-07-25 23:50:29, last edited by ashtoin (2016-07-26 07:53:51)

ashtoin
Member
Joined: 2016-06-26
Posts: 29

[Beta] JumpSigns <MAJOR UPDATE: Variables & Multi-sign calls>

JumpSigns - Event based command signs for automating everything!

JumpSigns! is a work in progress bot which, using an event based structure, creates simple sign-based scripting.
It requires LuaBot in order to run.
To use, download JumpSigns, place it in the /scripts/ directory inside of LuaBot's unzip directory.
Run luabot (or do command 'reloadlua') and then type in 'lua jumpsigns'!
note: Signs are parsed at program start, you have to restart it manually to see sign changes.

Bot download link: https://github.com/uniquegamer522/LuaBo … pSigns.lua

A quick example:
[JumpSign][trigger:jump][trigger:key,Red]<setblock,1,11,115>
Whenever someone jumped while on the sign, or if the red key is activated, the block at position 1,11 would be set to ID 115 (left booster)

Note that the documentation heading the JumpSigns.lua file is going to be more complete than what's posted here! Look there for details.
Currently the available directives (triggers) are:
[trigger:jump]                   (Triggered when someone jumps on the sign)
[trigger:key, <key name>]  (Triggered on a key going from inactive to active)
[trigger:gate, <gate id>]    (Triggered on an orange switch being turned on)
[trigger:direct]                  (Triggered using the call assertive

And the available assertives (commands) are:
<setblock, x, y, blockID> (Sets a block at x,y to blockID)
<getblock, x, y, variable> (Gets a block at x,y and stores it's blockID in the given variable
<call, x, y> (Calls a direct trigger on a sign at the given location)

Using variables:
Replace any parameter with a %variable%! For specific usage and special cases, see the script file header.

As you can see there isn't much you can do with it yet other than create a door, or something similar, but new triggers and commands are in the works!
Have any suggestions for features, or general feedback? It's much appreciated.


After approximately a long time of being idle...
I've finally found the time, energy, and inspiration to begin...
Announcing...
the long-awaited sequal..
with an actual GUI...
event-based system instead of threads...
..nope never mind out of inspiration. I'll be back in another month or two.
It's here: LuaBot 2.0! (Hopefully we fixed that missing DLL problem)

Offline

ashtoin1469487029614308

Board footer

Powered by FluxBB

[ Started around 1732409747.7502 - Generated in 0.040 seconds, 12 queries executed - Memory usage: 1.37 MiB (Peak: 1.45 MiB) ]