Railgun

if it ain't broke, we'll break it

User Tools

Site Tools


sockchat:types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sockchat:types [2025/04/20 00:40] – [timestamp] flashsockchat:types [2025/04/20 00:42] (current) – type links flash
Line 26: Line 26:
 ===== user name ===== ===== user name =====
  
-''%%string%%'' containing a user’s name.+[[#string|string]] containing a user’s name.
  
 If the user currently has an AFK tag set through the ''%%/afk%%'', it is prefixed by ''%%<AFK>_%%''. The ''%%AFK%%'' text can be replaced by any text supplied to the ''%%/afk%%'' command as an argument, the original PHP Sock Chat and SharpChat force this text to uppercase and limit it to 5 unicode grapheme clusters. If the user currently has an AFK tag set through the ''%%/afk%%'', it is prefixed by ''%%<AFK>_%%''. The ''%%AFK%%'' text can be replaced by any text supplied to the ''%%/afk%%'' command as an argument, the original PHP Sock Chat and SharpChat force this text to uppercase and limit it to 5 unicode grapheme clusters.
Line 38: Line 38:
 ===== colour ===== ===== colour =====
  
-Any valid value for the CSS ''%%colour%%'' property. Further documentation can be found [[https://developer.mozilla.org/en-US/docs/Web/CSS/color_value|on MDN]].+Any valid value for the CSS ''%%color%%'' property. Further documentation can be found [[https://developer.mozilla.org/en-US/docs/Web/CSS/color_value|on MDN]].
  
 ===== message flags ===== ===== message flags =====
  
-Message flags alter how a message should be displayed to the client, these are all ''%%bool%%'' values. The parts are as follows:+Message flags alter how a message should be displayed to the client, these are all [[#bool|bool]] values. The parts are as follows:
  
   * Username should appear using a **bold** font.   * Username should appear using a **bold** font.
Line 59: Line 59:
  
 ^      Type      ^Description                                                                                                                                                                                                                                                                                ^ ^      Type      ^Description                                                                                                                                                                                                                                                                                ^
-|  ''%%int%%''   |Rank of the user. Used to determine what channels a user can access or what other users the user can moderate.                                                                                                                                                                             | +|  [[#int|int]]   |Rank of the user. Used to determine what channels a user can access or what other users the user can moderate.                                                                                                                                                                             | 
-|  ''%%bool%%''  |Indicates whether the user the ability kick/ban/unban others.                                                                                                                                                                                                                              | +|  [[#bool|bool]]  |Indicates whether the user the ability kick/ban/unban others.                                                                                                                                                                                                                              | 
-|  ''%%bool%%''  |Indicates whether the user can access the logs. This should always be ''%%0%%'', unless the client has a dedicated log view that can be accessed without connecting to the chat server.                                                                                                    | +|  [[#bool|bool]]  |Indicates whether the user can access the logs. This should always be ''%%0%%'', unless the client has a dedicated log view that can be accessed without connecting to the chat server.                                                                                                    | 
-|  ''%%bool%%''  |Indicates whether the user can set an alternate display name.                                                                                                                                                                                                                              | +|  [[#bool|bool]]  |Indicates whether the user can set an alternate display name.                                                                                                                                                                                                                              | 
-|  ''%%int%%''   |Indicates whether the user can create channel. If ''%%0%%'' the user cannot create channels, if ''%%1%%'' the user can create channels but they are to disappear when all users have left it and if ''%%2%%'' the user can create channels that permanently stay in the channel assortment.|+|  [[#int|int]]   |Indicates whether the user can create channel. If ''%%0%%'' the user cannot create channels, if ''%%1%%'' the user can create channels but they are to disappear when all users have left it and if ''%%2%%'' the user can create channels that permanently stay in the channel assortment.|
  
sockchat/types.1745109615.txt.gz · Last modified: 2025/04/20 00:40 by flash