in reply to Re: Small net::irc questions
in thread Small net::irc questions
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.
|
|---|