Module:LuaCall: Difference between revisions

From Test Wiki
Content deleted Content added
debuglog
Need to get the variables... I think...
Line 28: Line 28:
repeat
repeat
reserved_counter=reserved_counter+1
reserved_counter=reserved_counter+1
reserved_value[reserved_counter]=mw.ustring.match(reserved_contents,"([^%,]+)")
reserved_value[reserved_counter]=_G[mw.ustring.match(reserved_contents,"([^%,]+)")]
debuglog=debuglog.."["..reserved_counter.."] = "..tostring(reserved_value[reserved_counter]) .. "</nowiki><br /><nowiki>"
debuglog=debuglog.."["..reserved_counter.."] = "..tostring(reserved_value[reserved_counter]) .. "</nowiki><br /><nowiki>"
reserved_contents=mw.ustring.match(reserved_contents,"[^%,]+,(.*)$")
reserved_contents=mw.ustring.match(reserved_contents,"[^%,]+,(.*)$")