KHD

Wildcard Token Identifiers

KHD
Nov 6th, 2012
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.60 KB | None | 0 0
  1. ;$findtokw(text,token,N,C) works like $findtok() except with wildcards
  2. alias findtokw {
  3.   return $findtok($1, $wildtok($1, [ $2 ], $3, $4), $3, $4)
  4. }
  5. ;$findtokcsw(text,token,N,C) works like $findtokcs() except with wildcards
  6. alias findtokcsw {
  7.   return $findtokcs($1, $wildtokcs($1, [ $2 ], $3, $4), $3, $4)
  8. }
  9. ;$istokw(text,token,C) works like $istok() except with wildcards
  10. alias istokw {
  11.   return $iif($wildtok($1, [ $2 ], 1, $3),$true,$false)
  12. }
  13. ;$istokcsw(text,token,C) works like $istokcs() except with wildcards
  14. alias istokcsw {
  15.   return $iif($wildtokcs($1, [ $2 ], 1, $3),$true,$false)
  16. }
Advertisement
Add Comment
Please, Sign In to add comment