minetest-mm/mods/computer/fusrodah/_.lua

5 lines
76 B
Lua
Raw Normal View History

2020-10-25 19:05:08 +01:00
local name = "foo:bar"
local modname = name:gsub(":.*", "")
print(modname)