Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By DarrylBurke

Thread: Need help with a string

  1. #1
    Kubko is offline Member
    Join Date
    Aug 2011
    Posts
    1
    Rep Power
    0

    Default Need help with a string

    So i'm making irc bot, and I need to get channel of the messages the bot receives so it knows what channel it should send them on.

    This is an example of what it receives when someone says something:
    Java Code:
    :KUBKO!~iphidden@iphidden.com PRIVMSG #channel :test
    so basically i would need to get everything between # and : but i can't figure out how to do this.

    Thanks

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

Similar Threads

  1. Replies: 6
    Last Post: 12-06-2010, 09:26 AM
  2. Replies: 12
    Last Post: 11-26-2010, 08:33 AM
  3. Replies: 1
    Last Post: 11-04-2010, 06:53 PM
  4. Replies: 7
    Last Post: 11-03-2009, 02:18 AM
  5. Replies: 5
    Last Post: 01-11-2009, 10:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •