Aop

From Scriptwiki
Revision as of 20:33, 6 May 2009 by Aca20031 (talk | contribs) (Should have been an on join event, not an on text event, I believe)

(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 join 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

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