Thanks for yoru help, I really appreciate.
After trying $conn->mode("$channel", '+v', "$nickname") as you suggested, it had the same results as printing it as a prvmsg. It prints /#channel name +v UserName .
I went back and changed use Net::IRC to use Net::IRC::Connection thinking this was the solution. Doing this created an error "Can't locate object new..". So from that, I went ahead and changed my $irc = new Net::IRC; to my $irc = new Net::IRC::Connection; and it errors out with "No method called "newconn" for object.". Any idea what's going wrong or why it's printing as text?
Thanks! I haven't tried the loop thing yet, I'm still trying to get the commands to work.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.