hello

in order to use a virtual host in Undernet, you need to connect then type /msg X@channels.undernet.org login username password, and then type /mode nickname-here +x

but I already have this script:
Code:
on *:start: {
  window -x "Status Window"
  showmirc -m
  /s -m irc.serv4.net -j #a,#b
  /s -m us.undernet.org -j #d,#w,#e
  /s -m chat.serv2.com -j #b 
}


can you tell me please how to encorporate the above procedure in the above script?

please note that I want to first use the vhost and then join to any channels in undernet

thanks