ok everything is working is working as intended now.

Code:
on *:join:#: {
  if ($read(names.txt,nw,$nick) == $null) {
    write names.txt $nick
    msg $chan hi there $nick ! welcome to the stream!
  }
}


my current output is
hi there patrick ! welcome to the stream!
but i want
hi there patrick! welcome to the stream!

i want the space removed. but $nick! wont give out the nick
if i change the code to
Code:
msg $chan hi there $nick! welcome to the stream!

it will give me
hi there welcome to the stream!

Last edited by patrickplays; 30/03/14 12:29 AM.