Don't create a whole new addon, you need to add it to the layout file.
You also seem to have no idea how Lua or coding works, and thus you should read up on the Lua docs.
A tag is a reference to a function, and it doesnt allow arguments like how you try to do it.
|