diff options
author | bloodstalker <thabogre@gmail.com> | 2017-06-12 12:19:43 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-06-12 12:19:43 +0000 |
commit | 8e36dc179039e9d8df1ef8a671058433b78479ba (patch) | |
tree | 3797950f839629303e7acbf8f53db12d1df61381 /bruiser | |
parent | fixed the new command (diff) | |
download | mutator-8e36dc179039e9d8df1ef8a671058433b78479ba.tar.gz mutator-8e36dc179039e9d8df1ef8a671058433b78479ba.zip |
new example scripts
Diffstat (limited to 'bruiser')
-rw-r--r-- | bruiser/lua-scripts/testfile1.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bruiser/lua-scripts/testfile1.lua b/bruiser/lua-scripts/testfile1.lua new file mode 100644 index 0000000..9e14bcd --- /dev/null +++ b/bruiser/lua-scripts/testfile1.lua @@ -0,0 +1,16 @@ +print(Vars()) +print(Funcs()) +print(showsource(1,5,"test.cpp")) + +a={showsource(1,5,"test.cpp")} +for k,v in pairs(a) do + print(k,v) +end + +b={Vars()} +for k,v in pairs(b) do + print(k,v) +end + +print("today is:") +print(os.date()) |