Difference between revisions of "Gline"

From Scriptwiki
Jump to: navigation, search
m (fixed spelling mistake)
(fixed some stuff)
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 rather. 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.
Line 16: Line 16:
 
  /gline +*@evil.users * 3600 :don't be evil :)
 
  /gline +*@evil.users * 3600 :don't be evil :)
  
Sets a g:line on evil@user which will expire in one hour.
+
Sets a g:line on *@evil.users which will expire in one hour.
  
 
  /gline cow@evil.users
 
  /gline cow@evil.users

Revision as of 14:26, 5 September 2005

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 rather. 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.

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.