Make a line into a string
<p>I got a bot from <a href="http://oreilly.com/pub/h/1968" rel="nofollow">this</a> website, and I've been having a lot of fun with it. However I wanted to add an away command.
The way it's gonna work is that when someone write </p>

<pre><code> away [reason]
</code></pre>

<p>then it saves the reason, and when someone else types his name, the bot sais "He is not available, he left a note '[reason]'" or something like that.
The input I get when someone writes to the bot is</p>

<pre><code> :NickName!email@gtanet-GTMJLJRI83.nextgentel.com
 PRIVMSG #mychat :away Im going
 fishing.
</code></pre>

<p>Using this </p>

<pre><code> line[0][line[0].index(":")+1:line[0].index("!")]
</code></pre>

<p>I got the username of the person (in this case, it's NickName), and I need to extract all lines after away, using line[4:] (Im going fishing), and that works like a charm.
But I need to make it into a string, because it can't return a string and a list.</p>

<p><strong>tl;dr</strong>    I get a list as a value, and I want it to return it with a string, what do I do?</p>
