VaporWare
VaporWare AmIRC Main Index [Previous| Chapter Index|Next]

Arexx Commands

MATCHUSERHOST

Usage: MATCHUSERHOST USERHOST/A,PATTERN/A

Matches userhost with pattern and sets rc to 0 if there is no match and rc to 1 if there is a match. USERHOST *must* be a real host like nick!user@hostname and not a pattern. PATTERN may hold special charecters like "*" and "?" such as ni*!use?@ho?tna*.

Example:

     options results
     "MATCHUSERHOST Joe!Joeshmoe@ppp100.net.il *!*@*.net.il"
     "ECHO" rc