There is an issue with on logon when using (at least) the toolbar button to (re)connect to server.
This Ip address 195.154.10.234 is irc.epiknet.net
In remote, put:
on ^*:logon:195.154.10.234:echo -a $server $servertarget
Add the IP in 'alt + o > connect > servers' without a group.
Click Select from the option and then Connect.
The event will trigger, which is expected to me.
So far so good, now click the toolbar button to disconnect, and click once more to reconnect, this time the event won't trigger, I believe it should still trigger.
Using
on ^*:logon:*:echo -a $server $servertarget
and eventually an if statement to check for the server name works.