I know you are hoping that we might just write the whole thing for you, but you should at least show some effort. Meet us part way by showing a first attempt at solving the problem with comments indicating where you can't figure stuff out.
A few hints are in order:
In reply to Re: Haven't Scripted in a Decade, need help (gift is probably a better word)!
by GrandFather
in thread Haven't Scripted in a Decade, need help (gift is probably a better word)!
by rickyboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |