To clarify on terminology, the system you want the messages to appear is
the host system - while the system running irssi is the remote system.
The first step would be to load the plugin into irssi. Type "/load
/path/to/script/file/notifyMq.pl" into irssi and you should see the
message "Message Id = 0" in window number 1.
This opens up a message queue in the remote system. Now it's a matter of
reading from this queue and getting the messages to the host system.
What you need to do is to modify the notify.sh on your host system to
execute readMsq.pl on your remote system.
Change the notify.sh on your host system so it will point to the correct
path of readMsq.pl and to the correct remote system. If you then execute
notify.sh, it runs in an endless loop, passing received messages on to