ok everything is working is working as intended now.
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
msg $chan hi there $nick! welcome to the stream!
it will give me
hi there welcome to the stream!