mIRC Homepage

Popup help

Posted By: Starsplash

Popup help - 15/01/20 03:46 PM

Hi, I use this popup when i do support for a site:
.Help Start:/msg # Hello $1 $+ , Welcome to #helpchan im here to help. Please state your site username unless it matches your nick. then inform me about the reason for your visit to #helpchan. | /msg #staff !u $1

The thing is that when a user joins, witch name starts with "mib" i dont want the popup to do the "/msg #staff !u $1" part of the script.

Is that something someone here can help me with?
Posted By: maroon

Re: Popup help - 15/01/20 06:21 PM

I assume by 'name' you mean the nick, and not the 'realname' that shows when you do a /whois on them.

replace the part following the pipe symbol with:

Code
if (mib* !iswm $nick) /msg #staff !u $1
Posted By: Starsplash

Re: Popup help - 15/01/20 06:35 PM

Thanks a bunch. that helps me alot smile
(if it works) smile
Posted By: Starsplash

Re: Popup help - 15/01/20 06:56 PM

So the script still sends the !u if the users name start with mib
it also sends the !u nick if it does not start with mib

Code
if (mib* !iswm $nick) /msg #staff !u $1

Posted By: Starsplash

Re: Popup help - 15/01/20 07:19 PM

made it work like this : if ( $left($1,4) != mib_ ) { /msg #staff !u $1 }
© 2020 mIRC Discussion Forums