Community discussions

MikroTik App
 
inibir
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Thu Nov 25, 2010 2:25 pm
Location: lebanon
Contact:

lua is not intalled in my board

Sun Nov 24, 2013 4:52 pm

hiii all
i try

[admin@MikroTik] > [/lua "local f=assert(io.open('/test.txt', 'w+')); f:write(newContent); f:close()" ];
bad command name lua (line 1 column 3)

[admin@MikroTik] > [:lua "require 'customprint'\n print('hello from custom print function')"]    
syntax error (line 1 column 32)

i create the "/lua" folder in files and have the file "customprint.lua" same this url:
http://wiki.mikrotik.com/wiki/Scripting ... her_script

how can fix this problen ????
 
User avatar
skot
Long time Member
Long time Member
Posts: 584
Joined: Wed Nov 30, 2011 3:05 am

Re: lua is not intalled in my board

Sun Nov 24, 2013 11:31 pm

Lua support was dropped on v4.0rc1, but apparently they are planning to bring it back at some point.