Deleting Words from a Text File before Reading - 26/09/14 08:10 AM
Hey,
Current Code
Out-put
As you can see, it's a pretty long message, is there a way I can do a sort of scrapper? So that it will auto remove the "(Club Dubstep - Digitally Imported Premium)" That text is always the same, apart from the Title and Artist changing with the song. So I would just like to make sure my bot doesn't read it out.
Thanks so much!
Current Code
Code:
on *:Text:!song:#:{ msg # Current Song: $read(C:\Users\Exuviax\Desktop\Stream Recordings\Stream Stuff\Snip\Snip.txt) http://www.di.fm/clubdubstep }
Out-put
Code:
Current Song: Creonic - Salvation (Original Mix) (Club Dubstep - Digitally Imported Premium) http://www.di.fm/clubdubstep
As you can see, it's a pretty long message, is there a way I can do a sort of scrapper? So that it will auto remove the "(Club Dubstep - Digitally Imported Premium)" That text is always the same, apart from the Title and Artist changing with the song. So I would just like to make sure my bot doesn't read it out.
Thanks so much!