Are you sure irc.lv is the name of the network?
On that network, type //echo -a $network
and let me know what it says.
Here's an example:
on *:text:*:#chat:{
if $network == efnet {
; find the cid of network irclv where you are on #channel
scon -at1 if ($network == irclv) && ($me ison #channel) var % $+ cid = $!cid
if %cid {
; Set the active connection to network irclv
scid %cid
; Relay the message on #channel
msg #channel Relay from #chat on Efnet -> $+(<,$nick,> :) $1-
; Reset the active connection to the original one
scon -r
}
}
}