Each on TEXT event will fire within the context of the server on which the event fired. The same event will fire on all servers if they occur there. You can think of each connection ($scon or $scid) as being its own mIRC instance. The new multi-server scripting identifiers and commands allow you to breach the connection boundaries.
You can limit which servers or networks the event actually works on if you so choose to, using one of the following ideas (as well as others):
if ($network == EFnet)
if ($server == irc.somewhere.net)
if ($cid == 2)