[Script]
n0=on ^*:Owner:#:{ //echo $chan $dstime 09(15 $+ $nick $+ 09) 9O15wnz 09(15 $+ $knick $+ 09) | .haltdef
n0= if ( $opnick == $me) {
n0= if ($me isowner $chan) { goto end }
n0= if (%ownthnx == On) { goto yes }
n0= if (%ownthnx == Off) { Halt }
n0= :yes
n0= .msg # 9(1515(9T15hanks for the voic9E15)09) | //echo $chan $dstime $dsme 15(9T15hanks for the ow9N15)
n0= access $chan add owner $address($me,2)
n0= set %ownthnx Off
n0= .timer 1 15 /set %ownthnx On
n0= halt
n0= :end
n0= .haltdef
n0= }
n0= }
n0=on ^*:Voice:#:{ //echo $chan $dstime 09(15 $+ $nick $+ 09) 9V15oiced 09(15 $+ $knick $+ 09) | .haltdef
n0= if ( $opnick == $me) {
n0= if (%voicethnx == Off) { goto end }
n0= if (%voicethnx == On) {
n0= if ($me isreg $chan) { goto yes }
n0= else { halt }
n0= :yes
n0= .msg # 9(1515(9T15hanks for the voic9E15)09) | //echo $chan $dstime $dsme 15(9T15hanks for the voic9E15)
n0= set %voicethnx Off
n0= .timer 1 15 /set %voicethnx On
n0= halt
n0= :end
n0= .haltdef
n0= }
n0= }
n0=}
n0=on ^*:Op:#:{ //echo $chan $dstime 09(15 $+ $nick $+ 09) 9O15ped 09(15 $+ $knick $+ 09) | .haltdef
n0= if ( $opnick == $me) {
n0= if ($me isowner $chan) { goto end }
n0= if ($me isop $chan) { goto end }
n0= else { goto yes }
n0= if (%opthnx == On) { goto yes }
n0= if (%opthnx == Off) { goto end }
n0= :yes
n0= .msg # 9(1515(9T15hanks for the hos9T15)09) | //echo $chan $dstime $dsme 15(9T15hanks for the hos9T15)
n0= set %opthnx Off
n0= .timer 1 15 /set %opthnx On
n0= halt
n0= :end
n0= .haltdef
n0= }
n0= }

problem is that it doesnt work with the if reg [censored] please help me