You can also send multiple commands at the same time, just put all of them in a table:
Once you got your button, you can listen for presses using the event.msg.<YOUR_BUTTON_NAME>.
Here is an example:
ifevent.channel=="TOUCH_CHANNEL"andevent.msg.button_namethendigiline_send("TOUCH_CHANNEL",{{command="clear"},{command="addlabel",X=1,Y=1,H=1,name="label_name",label="You had clicked the button!"}})fiifevent.type=="program"thendigiline_send("TOUCH_CHANNEL",{{command="clear"},{command="addlabel",X=1,Y=1,H=1,name="label_name",label="Click the button"},{command="addbutton",X=1,Y=2,H=1,name="button_name",label="Click Me"}})end
As in make your own package with a name similar (like 'Miniontoby's Moretrains Fork' or 'Miniontoby's Moretrains') and keep the licensing all the same, credit the original authors in the license and your good to go :)
Look, idk HOW/WHERE to clone/fork FROM! I am not very famillair with the 'github' that is used here!
I really love this mod, it adds so much cool stuff to the game.
I like to use the digipistons since they allow me to make compact piston extenders.
The documentation for all nodes is a bit bad, so here is my proposal for documentation about touchscreen:
How to use the digistuff touchscreens:
You can send a command as a table. The options you have are as follows:
{command="clear"}
{command="addlabel",X=1,Y=1,H=1,name="label_name",label="Label:"}
{command="addfield",X=1,Y=2,W=4,H=1,name="input",label="Enter something"}
{command="addbutton",X=1,Y=3,H=1,name="button_name",label="Click Me"}
{command="addbutton_exit",X=1,Y=4,W=3,H=1,name="exit",label="Exit"}
You can also send multiple commands at the same time, just put all of them in a table:
Once you got your button, you can listen for presses using the
event.msg.<YOUR_BUTTON_NAME>
. Here is an example:How to use the digistuff advtouchscreens:
You can send formspec code to it.
DELETED
Oke I can now set the channel on mobile, BUT the texture stays white when ever I send like a number (like 1 or 125 or 55)
But maybe because my minetest also has problems with the LCD from digilines but idk if that has to do anything with this...
Can you release a new version here on contentdb with the changes?
Thank you! That was also how I used it myself.
but I think having a block with range (like protector) would be nice for servers, so people can 'name' their spaces/builds
thanks! finally someone who gives a useful reply!
But that was still not my question!
I wanted to know how to contribute, as in making a Pull Request to let the change merge if the owner wouldn't fix it themself.
Look, idk HOW/WHERE to clone/fork FROM! I am not very famillair with the 'github' that is used here!
You just add a submit/save button to the formspec and you're done!
Add something like:
please make the mod mobile friendly by adding a save button to the set channel formspec!
I meant that I don't know how to clone/fork/commit/PR this repo!
Hi,
I saw the mod still using the old depends.txt, so I fixed it up in my mods folder.
How can I commit it?
Added to the code
Rn just letting auto commit do the rest
I am working on adding Privelliges thing, but it is not yet working...
yes that is right.
I used that too for my mod.
-Miniontoby
hey,
I got a suggestion: Add biome search
-Miniontoby
so at first: Why is there no forum topic for this mod??
then: How to run a lua script fron console??
then for imlib2: Try 'sudo apt install lua-imlib2' or search for lua-imlib2 in 'sudo aptitude' or just search 'lua-imlib2' on your best friend Google.
And at last: I am nearly done with rewriting this script to python
Yeah, you should need to use param, like
/title <playername> <type (title, subtitle, times, clear)> <aditional params (title text, title text, seconds, NONE)>
else it won't work
I will try to fix that soon
ok,
So yeah, for mobs im fine at the show biome,
And yeah i will continue this topic in the actual forum page for Mobs Redo.
It doesn't spawn, I made an video of the server (https://streamable.com/ohynss), because you can't join the server becuase of whitelist
by my mtserver I installed this, with also mobs_monsters, but no mobs are spawning
There is no log about it, but yeah plz try to fix it.
If you can fix it I will make new review (or edit this one)