Hasflag

From Botnix

hasflag

n = main::hasflag(handle,flag,network,channel)

Returns true if the user matches any of:

  • The given flag, on the given network and channel
  • The given flag, globally
  • The given flag on the given channel on all networks
  • The given flag on all all channels on the given network

Network and/or channel may be undef.