Notices where this attachment appears
-
Embed this notice
@MK2boogaloo @0 @Ignace @f0x @graf @hiro @manfromhuh @ovivu @pantherastare @sysrq cc @meso can you bring out blocks.sh that was what i used before to see
-
Embed this notice
@errante @bot @kroner the $1 is the first argument that is called when you run the script btw
if you place the script in a file called blocks.sh, you will run it like "blocks.sh bot" (and preface it with ./ to indicate the file is in the current directory, because normally Linux runs binaries from the /usr/bin or /usr/local/bin directories if they are present there, this just ensures it runs the local file rather than the installed binaries)
the "bot" (or any other string of text) is the argument, and you refer to it with $1 inside the script