Learning lua will be helpful if you need to do something bigger (or even smaller) than what you're doing now, because then, you'll be able to do your own debugging instead of coming to us every time. And this applies regardless of whether or not you believe you'll use this mod again, because Lua is used a lot outside of CC, and helps in understanding other programming languages.
As for the issue at hand, it would be helpful if you posted the code you're using here (not the code you copied, but the code you have running on your computer) (and use
tags too). You can find the code for your programs in
(Your Server Folder)/(Your World Folder)/computer/(Your Computer ID). It's also very,
very helpful to tell us the problem you're having, or the error message you're getting. Lastly, help topics go in Ask a Pro.
I'll try to help anyway, even though I doubt you're
this clueless.
Wrap a monitor:
mon = peripheral.wrap("top")
"mon" is what lua sees as your monitor, represented in the code. It is the result of what the function "peripheral.wrap" is performing in the world around it. It finds a monitor, "wraps" it, and stores it to whatever you want to name it. You could also replace "mon" with "monitor" or just "m" and it'd still work.
There are more than one ways to write to a monitor, but I find the easiest way (if you're not doing anything too complicated, like this) is to "redirect" the terminal to the monitor, which means that any text that would normally print to your computer's screen, would be printed to the monitor instead.
To redirect, you need to use the term.redirect() function.
term.redirect(mon)
At this point, anything you do will be shown on the monitor, such as print()ing text. You can return control to the computer by using term.restore().
Example:
mon = peripheral.wrap("top")
term.redirect(mon)
print("Hello!")
print("I'm writing text on a monitor!")
term.restore()