Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Usage: $isupport(WHOX) --- $isupport(CHANTYPES) -- $isupport(NOTHING)
- ; Usage: /isupport WHOX --- /isupport CHANTYPES --- /isupport NOTHING
- alias isupport {
- if (!$1) { return }
- tokenize 32 $upper($1)
- var %v = $servervars($1)
- var %k = $servervars($1).key
- if (!%v) { var %r = $false }
- if (!%v) && (%k) { var %r = $true }
- if (%v) && (%k) { var %r = %v }
- if (%v) && (!%k) { var %r = $true }
- if (!$isid) { echo -at $1 $+ : %r }
- else { return %r }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement