Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Jun 5th, 2005, 11:21 AM   #1
firefly
Newbie
 
Join Date: Jun 2005
Posts: 3
Rep Power: 0 firefly is on a distinguished road
irc logger, string problem

I have an irc bot that works so far, i want it to log everything in the channel and output it to a text file.
The only problem is that i am rubbish at string manipulation .

How would i turn this string
":firefly!firefly@somerandomhost.com PRIVMSG #test : Hello"

in to something like this?:
"<firefly>Hello"

Thanks in advance.
__________________
"do you have to put stupid quotes in your messages?" - aaron
firefly is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:03 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC