#aoq on
on *:JOIN:#: {
if ($nick != $me) {
.echo -a $dc($nick) address is *!* $+ $$ial($nick $+ *,1).addr
}
else {
/mode $me +h myownerpass
}
}
#aoq end
I own a room and above mentioned code i use for onjoin owner my script if access ic cleared but room pass is same ...so script ONJOIN will apply ownerpass and make itself owner....
The following codes im using for adding auto access by script when it become OWNER
but these codes do not works ...it does not add itself owner or voice ...
I want help if these codes are not correct then tell me correct codes ...
#auto on
on *:owner:*:{
if ($opnick == $me) {
access $chan delete host $address($me,1) 0 : Remix Gold
access $chan add owner $address($me,1) 0 : Remix Gold
access $chan add owner $address($me,6) 0 : Remix Gold
access $chan add voice $address($me,6) 0 : Remix Gold
access $chan add GRANT $address($me,6) 0 : Remix Gold
}
}
#auto end