.
2003-08-06 20:49:37 UTC
Does anyone know why the !half and !voice wouldn't work in the code below?
The !ops works and the nicks have been given levels 3,4,5,7 and 8.
We have already tried assigning >=5 to the nicks but still the only command
that will work is !ops.
If you have any suggestions at all, please reply.
on 3:TEXT:!voice*:#Digital-Update: {
( $2 == $null ) {
v $nick
}
else {
v $2-
}
; halt
}
on 4:TEXT:!half*:#Digital-Update: {
if ($2 == $null ) {
halfop $nick
}
else {
halfop $2-
}
; halt
}
on 5:TEXT:!ops*:#Digital-Update: {
if ( $2 == $null ) {
op $nick
}
else {
op $2-
}
halt
}
The !ops works and the nicks have been given levels 3,4,5,7 and 8.
We have already tried assigning >=5 to the nicks but still the only command
that will work is !ops.
If you have any suggestions at all, please reply.
on 3:TEXT:!voice*:#Digital-Update: {
( $2 == $null ) {
v $nick
}
else {
v $2-
}
; halt
}
on 4:TEXT:!half*:#Digital-Update: {
if ($2 == $null ) {
halfop $nick
}
else {
halfop $2-
}
; halt
}
on 5:TEXT:!ops*:#Digital-Update: {
if ( $2 == $null ) {
op $nick
}
else {
op $2-
}
halt
}