Greetings!
I am trying to use the On Join remote to scan for people who's ident matches a particular word/phrase. For example, people will join with an address like:
Nickname (john|smith@ipaddress)
I would like to use the On Join remote do something like, when it sees the smith part (the part after the | ): /msg $nick Ah, someone from the smith clan!
I've tried using the IAL for this, but havn't had any luck. This is what I tried for code:
on 1:JOIN:#channel:{ while ( $ial(*!*smith,1).nick ) /msg $nick Ah, someone from the smith clan! }
Is this something that can be done, either this way or another? I'd appreciate any help.