diff options
| author | autocommitter <autocommitter@linux-forks.de> | 2025-12-23 00:00:03 +0100 |
|---|---|---|
| committer | autocommitter <autocommitter@linux-forks.de> | 2025-12-23 00:00:03 +0100 |
| commit | 593f86224d7fe73f4a25ed82956c2967e68983e0 (patch) | |
| tree | d6522683e9e8253c1a153fccd7fe7b5fc80011e5 /pad/nodes/(-1053,4,-3352).lua | |
| parent | d6455462c416e2e08bd33e8a5b21cc49c5aaece4 (diff) | |
State at 2025-12-23
Diffstat (limited to 'pad/nodes/(-1053,4,-3352).lua')
| -rw-r--r-- | pad/nodes/(-1053,4,-3352).lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pad/nodes/(-1053,4,-3352).lua b/pad/nodes/(-1053,4,-3352).lua new file mode 100644 index 0000000..6d0c5aa --- /dev/null +++ b/pad/nodes/(-1053,4,-3352).lua @@ -0,0 +1,29 @@ +local OPENER = {x=-1055,y=1,z=-3352} + +if event.type == "digiline" then + local catch = event + local prefix = catch.msg:sub(1, 4) + local message, r_prefix + + if catch.channel == "Fla" and prefix == "uput" then + message = F.ick(catch.msg) + + if message ~= nil then + r_prefix = message:sub(1, 3) + end + + if r_prefix ~= nil then + if r_prefix == "ACC" then + interrupt(5) + interrupt_pos(OPENER, "open") + end + digiline_send("pref_sc", message:sub(5)) + end + else + interrupt(5) + end +end + +if event.type == "int" then + digiline_send("pref_sc", "Please insert your transport pass below") +end |
