Category:Macros: Difference between revisions

From xat wiki
mNo edit summary
No edit summary
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{shortcut}}<languages/>
{{shortcut|Macros}}
<languages/>
<translate>
<translate>
<!--T:1-->
<!--T:1-->
A macro allows you to assign a message to an abbreviation, so you can send that message quickly using the abbreviation.
A macro allows you to assign a message to an abbreviation, so you can send that message quickly using the abbreviation.
<!--T:28-->
'''MACRO NAMES ARE CASE SENSITIVE.'''


==Macros== <!--T:2-->
==Macros== <!--T:2-->


<!--T:20-->
<!--T:20-->
The format of creating a macro is as follows: $macroName=This is my macro message. (Note: macro names ARE case-sensitive)
The format of creating a macro is as follows: $macroName=This is my macro message.


<!--T:3-->
<!--T:3-->
Line 41: Line 45:
*'''$fav=(d#r#loser#g)''' for easy use of custom smilies, now you can just type: '''$fav'''
*'''$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)'''
*'''$effect=g#bye''' to store an effect which you would use, like this: '''(redface#$effect)'''
*'''$announce=Tonight at 7pm we will have a live radio show on the chat''' for a phrase you want to say often
*'''$announce=Tonight at 7 pm we will have a live radio show on the chat''' for a phrase you want to say often
 
===Note=== <!--T:14-->
 
<!--T:15-->
''Note that this is an experimental feature, and macros are only stored on your local computer in your flash cookies (sol)''
 
<!--T:16-->
You might also want to check out [[HelpMacros]]


===No Lag=== <!--T:17-->
==Decrease your lag on xat== <!--T:17-->


<!--T:18-->
<!--T:18-->
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):
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):


<!--T:21-->
<!--T:24-->
*'''$sanimate=off''' will allow you to turn off smiley animations.
*'''$animate=off''' - Disables animated avatars.


<!--T:22-->
<!--T:22-->
*'''$avatars=off''' will allow you to turn off users avatars.
*'''$avatars=off''' - Hides avatars.
 
<!--T:23-->
*'''$glitter=off''' will allow you to turn off the Glitter effect for avatars.


<!--T:24-->
<!--T:29-->
*'''$animate=off''' will allow you to turn off animated avatars.
*'''$blast=off''' - Disables blast animations.


<!--T:25-->
<!--T:25-->
*'''$flix=off''' will allow you to disable Flix animations on chat groups.
*'''$flix=off''' - Disables [[<tvar|1>Special:MyLanguage/Category:Flix</>|Flix]] animations.


<!--T:26-->
<!--T:26-->
*'''$gback=off''' will allow you to disable Gback on chat groups.
*'''$gback=off''' - Disables [[<tvar|1>Special:MyLanguage/gback</>|Gback]].
 
<!--T:23-->
*'''$glitter=off'''  - Hides the glitter effect on avatars.
 
<!--T:21-->
*'''$sanimate=off''' - Disables smiley animations.


<!--T:27-->
<!--T:27-->
*'''$SetStatus=off''' will allow you to disable users Status powers (only for your screen.)
*'''$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.