]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripts/test.lua
Fixed so standard libraries can be used, added an example script, and fixed so all...
[proxmark3-svn] / client / scripts / test.lua
diff --git a/client/scripts/test.lua b/client/scripts/test.lua
new file mode 100644 (file)
index 0000000..76adc98
--- /dev/null
@@ -0,0 +1,10 @@
+local foo = "This shows how to use some standard libraries"
+print(foo)
+local answer
+repeat
+       io.write("Continue with this operation (y/n)? ")
+       io.flush()
+       answer=io.read()
+until answer=="y" or answer=="n"
+local x = "Ok then, %s"
+print (x:format("whatever"))
\ No newline at end of file
Impressum, Datenschutz