If you want to save all those vars for each channel..

raw 366:*:{
  • set $+(%,$2,.voice) $nick($2,0,v)
    set $+(%,$2,.halfop) $nick($2,0,h)
    set $+(%,$2,.operadores) $nick($2,0,o)
    set $+(%,$2,.regular) $nick($2,0,r)
}