Anope.org > Anope General

Allowing more than one access level to a user

<< < (2/2)

Lord255:

--- Code: ---alias voicehceck {
  if ($1 isvoice #) {
    echo -a $1 has voice on #
  }
  else {
    echo -a $1 has no voice on #
  }
}

--- End code ---

testuser has no voice on #test
* Lord255 sets mode: +h testuser
testuser has no voice on #test
* Lord255 sets mode: +v testuser
testuser has voice on #test

its working pretty well. as i said.. give auto halfop with chanserv (access list -> 4), then make the bot voice up the persons who you need then check who has voice.. thats all.
the user will have +hv.. its not a problem.

CrazyCat:

--- Quote from: CrazyCat on April 18, 2021, 01:32:08 PM ---You can't use halfop and voice, because if a halfop is voiced, you'll only see his halfop status.

--- End quote ---
I mean "graphicaly", in the userlist, the voice won't be showed.
But the script will see it because the user has modes +h and +v

Lord255:

--- Quote from: CrazyCat on April 18, 2021, 03:14:09 PM ---I mean "graphicaly", in the userlist, the voice won't be showed.
But the script will see it because the user has modes +h and +v

--- End quote ---

yup yup. this is why i mentioned it to him. thats a solution for his "problem" :)
(i also think its weird.. he could just use egg and add these users to the list.. but oh well..)

Navigation

[0] Message Index

[*] Previous page

Go to full version