Difference between revisions of "Gline"

From Scriptwiki
Jump to: navigation, search
(added relatedraws template)
m
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
  
 
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 ==
Line 27: Line 29:
  
 
== See Also ==
 
== See Also ==
 +
* {{Relatedraws|gline}}
  
{{Relatedraws|gline}}
+
[[Category:Oper commands]]
 
 
[[Category:Basic IRC commands]]
 

Latest revision as of 09: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.

See Also