Hi
I have a script that says a phrase when i get in the channel but should only say the message in the channels that are listed on the ini files it works but when I join a channel that is not on the list it sends a blank message like this <marco>
how to avoid to send this blank line sto the channels that are not on the list?
Code:
 
on 1:join:*:{ 
  if ($nick == $me)  {
    set %joinmsg $readini system\joinchans.ini join $chan  
    msg $chan 7  [ [ %joinmsg ] ] 


  }
}