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

Last edited by maroon; 15/01/20 06:21 PM.