thanks for the help but for this bit

if (%adv.nick isreg #) && (pug !isin %str) && (5 !isin %str) && (server !isin %str) {

cant i just do this

if (%adv.nick isreg #) && (pug !isin %str) && (5 !isin %str && server !isin %str) {

cause '5' and 'server' must be in the same line to not get banned.

example: i got 5 and a server pm4w #furious ( that = ok)
it cant just be i got no server #furious ( that = ban)