on rank:join:#channel: {
mode # +o $nick
notice $nick Welcome, blablabla
}
Thats what i allready have.
But if I do !op someone, then i want he's hostname automatically in my remote.ini (Users in ALT+R), so it gives him +ao for the rest of the time, so he dont have to be authed to the ChanServ.
This is my !op script now, I want to remove the +ao from L, if I know how to add the hostname and good rank.
on @*:TEXT:!op &:#: {
if ($2 !ison #) notice $nick User not found.
elseif ($nick isop #) {
mode # +o $2
msg L chanlev # $2 +ao
notice $nick Done.
}
else {
notice $nick You are not allowed to use this command.
}
}