Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Small net::irc questionsby coldfingertips (Pilgrim) |
on May 03, 2005 at 06:17 UTC ( [id://453488]=perlquestion: print w/replies, xml ) | Need Help?? |
coldfingertips has asked for the wisdom of the Perl Monks concerning the following question:
Seeing a post on here about this module yesterday I thought it might be interesting to see what all it could do since I used to spend all my time over on MIRC. I have 2 questions. 1) How do you issue commands from the bot such as voicing a user by +v? $conn->privmsg($conn->{channel}, "/mode #HiddenRoom +v $nick"); printed literally the entire line. So I'm assuming there's a specific way to issue commands and it's not by privmsg but I couldn't find it on the docs. Can someone fill me in? 2) From the command line after you issue all the sub routines on what to do when someone joins, leaves or sends a message, it "halts" after you issue $irc->start();. I tried to ask for more input after this but the script doesn't go further. I want to be able to set it up so I can issue commands to the script WHILE it's live so does anyone know of a way to do this? It keeps pausing after you tell it to start().
Back to
Seekers of Perl Wisdom
|
|