From Scriptwiki
Jump to: navigation, search

Adds or removes an address/nick to/from your autoop list.

/aop [-rw] <on|off|nick/address> [#channel1,#channel2,...] [type] [network]

If someone is on your auto-op list, you would op the user everytime he joins the specified channel / any channel (if no channel was specified).

To turn automatically opping on, use /autoop on, to turn it off /autoop off.

You can use the following switches:

Switch Meaning
r removes someone from the autoop list
w makes the auto-op apply to every network

If you do not specify a type then only the users nickname is used. If you specify a type then the users address is looked up via the server.

Note that this is far better than using an On join event, as this would flood you off the server if many people join, e.g. after a netsplit.


aop Dana! #help.script

This would autoop Dana everytime she joins #help.script.

aop -r Dana!

This example would remove Dana from your autoop list.

aop Dana

If you use this command, you would op a user with the nickname Dana in every channel you are operator. Note, that this is very unsecure as everyone can use the nickname Dana if it's "free".

See Also

  • $aop to get information about your autoop list.
  • /avoice for an autovoice.