on LOGON does the trick, thx.

I still find it strange that perform doesn't work. It's not a '/quote pass' I want to perform, but just some commands to make my script work correctly ('/mode $me' f.e. so my client 'knows' my current usermodes on a certain network, the bnc doesn't automatically send these modes when I connect to it).
As I said in my previous post, it worked before with perform...