Aop

From Scriptwiki
Revision as of 11:46, 3 December 2005 by Doomie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 text event, as this would flood you off the server if many people join, e.g. after a netsplit.


Example

aop Dana!dana@staff.quakenet.org #help.script

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


aop -r Dana!dana@staff.quakenet.org

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

Take a look at $aop to receive information about your autoop list.

Take give someone voice everytime he joins, use /avoice.