Hi Kelder.
Well problem is that it should'nt read a random line, but a line that starts with !beer and then shows de rest of the text on that line. In the txtfile i have the $nick etc..
With the ,s,$1 i tell the script it should search for !beer and then shows whats after !beer. according the helpfile i should write it down like $read(drinks, s, !beer) since $1 == !beer that should work. in fact that works fine, but... i have 2 txtfiles, one if no nick is used and one when is.

thnxs for the fast replay, but the short code you gave me did'nt do the job. Instead i get the error msg: insufficient parameters..

Aaron