Indeed it does napa but this:
on *:text:!ir:#:{ /msg $chan /join $nick | /msg $chan ok ahi voy }
should be
on *:text:!ir:#:{ /join $nick | /msg # ok ahi voy }