Category:Macros: Difference between revisions

From xat wiki
No edit summary
No edit summary
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{shortcut}}<languages/>
{{shortcut|Macros}}
<languages/>
<translate>
<translate>
<!--T:1-->
<!--T:1-->
Line 73: Line 74:


<!--T:27-->
<!--T:27-->
*'''$SetStatus=off''' - Hides user status messages.
*'''$SetStatus=off''' - Hides user's status messages.


<!--T:19-->
<!--T:19-->
These macros can be used to significantly decrease your lag by turning off various features of xat. These macros can also be combined, to even further decrease a user's lag.
These macros can be used to significantly decrease your lag by turning off various features of xat. These macros can also be combined, to even further decrease a user's lag.
== Power-based Macros == <!--T:31-->
<!--T:32-->
: ''To turn off [[<tvar|1>Special:MyLanguage/Category:Flix</>|Flix]]es, use <tvar|2>$flix=off</>.''
<!--T:33-->
The following [[<tvar|1>Special:MyLanguage/powers</>|powers]] utilizes macros to toggle functions.
</translate>
</translate>
__NOTOC__
__NOTOC__
{{Category|Powers|langcat=yes}}

Revision as of 11:40, 15 July 2018

A macro allows you to assign a message to an abbreviation, so you can send that message quickly using the abbreviation.

MACRO NAMES ARE CASE SENSITIVE.

Macros

The format of creating a macro is as follows: $macroName=This is my macro message.

To set a macro, type: $rules=1. no spam 2. no flaming into the chatbox. This will create a macro named "rules." The message assigned to this macro is "1. no spam 2. no flaming."

After setting the macro value, the help system will confirm the creation of the macro by saying: $rules=1. no spam 2. no flaming.

After the macro is set, you can now type: $rules into the chat box and it will be replaced with the rules you set above.

To change the "rules" macro you created, type: $rules=1. no spam 2. no flaming 3. no asking for mod.

Now whenever you type $rules into the chatbox, your rules will be shown.

To delete or clear a macro that you have set, type: $rules= into the chatbox.

To view all your current macros that you have set, type $= into the chatbox.

Note: the macro names are case sensitive. We recommend using all lowercase letters for your macro names, to make things easier.

Uses

You can set macros for just about any purpose. Some examples are:

  • $fav=(d#r#loser#g) for easy use of custom smilies, now you can just type: $fav
  • $effect=g#bye to store an effect which you would use, like this: (redface#$effect)
  • $announce=Tonight at 7 pm we will have a live radio show on the chat for a phrase you want to say often

Decrease your lag on xat

Macros can also be used to store certain xat chat settings. For example, if you experience lag, you can use these macros to disable certain features (to turn the features back on, type "on" rather than "off," or just leave the macro value blank after the equals sign):

  • $animate=off - Disables animated avatars.
  • $avatars=off - Hides avatars.
  • $blast=off - Disables blast animations.
  • $flix=off - Disables Flix animations.
  • $gback=off - Disables Gback.
  • $glitter=off - Hides the glitter effect on avatars.
  • $sanimate=off - Disables smiley animations.
  • $SetStatus=off - Hides user's status messages.

These macros can be used to significantly decrease your lag by turning off various features of xat. These macros can also be combined, to even further decrease a user's lag.

Power-based Macros

To turn off Flixes, use $flix=off.

The following powers utilizes macros to toggle functions.

Pages in category "Macros"

The following 15 pages are in this category, out of 15 total.