hey there for a channel message if a nick joins example Johnny-Mobile and i only want the message to display the nickname as Johnny what do i add to $nick so it ignores the -Mobile in the message
on @!*:join:#: {
if ($regex($nick,/^(.+?)-Mobile$/)) && ($nick($chan,$regml(1),ov)) { msg #botsville Mobile Nick Check Complete... Main Nickname $nick (without the -Mobile) Is Connected And Serving...Now Voicing $nick (With the -Mobile) | timermvoice11 1 5 mode $chan +v $nick } }
Last edited by James; 14/04/16 08:48 PM.