Difference between revisions of "Gline"
BlackShroud (talk | contribs) m (fixed spelling mistake) |
m |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Finds, sets or deactivates G:lines. G:lines are used to ban certain users from the whole IRC network. | Finds, sets or deactivates G:lines. G:lines are used to ban certain users from the whole IRC network. | ||
− | /gline +/-ident@host [target] <duration> :reason | + | /gline [!]+/-ident@host [target] <duration> :reason |
or | or | ||
Line 7: | Line 7: | ||
/gline ident@host | /gline ident@host | ||
− | ident@host is the hostmask which you want to set a G:line on. If you use the second syntax the ircd will return any G:lines which might affect the given hostmask. | + | ident@host is the hostmask which you want to set a G:line on. If you use the second syntax the ircd will return any G:lines which might affect the given hostmask. You can also specify a channel instead of a hostmask, if you want to set a G:line on a channel. If you want to set a wide G:line you will have to use the ! prefix in front of the hostmask. |
If you do not set a target, the G:line will be set locally. Use * to set a G:line on all ircds which are connected to the network. | If you do not set a target, the G:line will be set locally. Use * to set a G:line on all ircds which are connected to the network. | ||
Duration is the G:line's duration in seconds. | Duration is the G:line's duration in seconds. | ||
+ | |||
+ | '''Note''' that you can use this command only if you are [[Oper|opered up]]. | ||
== Examples == | == Examples == | ||
/gline +*@evil.users * 3600 :don't be evil :) | /gline +*@evil.users * 3600 :don't be evil :) | ||
− | Sets a g:line on evil | + | Sets a g:line on *@evil.users which will expire in one hour. |
/gline cow@evil.users | /gline cow@evil.users | ||
Line 26: | Line 28: | ||
Deactivates the G:line. | Deactivates the G:line. | ||
− | [[Category: | + | == See Also == |
+ | * {{Relatedraws|gline}} | ||
+ | |||
+ | [[Category:Oper commands]] |
Latest revision as of 08:21, 2 July 2007
Finds, sets or deactivates G:lines. G:lines are used to ban certain users from the whole IRC network.
/gline [!]+/-ident@host [target] <duration> :reason
or
/gline ident@host
ident@host is the hostmask which you want to set a G:line on. If you use the second syntax the ircd will return any G:lines which might affect the given hostmask. You can also specify a channel instead of a hostmask, if you want to set a G:line on a channel. If you want to set a wide G:line you will have to use the ! prefix in front of the hostmask.
If you do not set a target, the G:line will be set locally. Use * to set a G:line on all ircds which are connected to the network.
Duration is the G:line's duration in seconds.
Note that you can use this command only if you are opered up.
Examples
/gline +*@evil.users * 3600 :don't be evil :)
Sets a g:line on *@evil.users which will expire in one hour.
/gline cow@evil.users
Checks whether someone who has the hostmask cow@evil.users would be affected by any G:lines.
/gline -*@evil.users * 3600 :anything
Deactivates the G:line.