mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
Fixed so standard libraries can be used, added an example script, and fixed so all hf.mf-ops can be called
This commit is contained in:
parent
806dc07542
commit
5a92cb525e
3 changed files with 38 additions and 71 deletions
10
client/scripts/test.lua
Normal file
10
client/scripts/test.lua
Normal file
|
@ -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"))
|
Loading…
Add table
Add a link
Reference in a new issue