Commands: Difference between revisions

From xat wiki
(condensing)
(condensing)
Line 227: Line 227:
===/mb Make a temporary member===
===/mb Make a temporary member===


This command allows you to promote guests to member rank for any duration of time up to 24 hours.  
Promote guests to member rank for any duration of time, up to 24 hours.  


The default rank to use this command is moderator or above. See more: [[Tempmem]].
The default rank to use this command is moderator or above. See more: [[Tempmem]].

Revision as of 00:49, 18 January 2017

xat has support for special "/" (slash) commands, which allow for advanced actions that are not available in the graphical user interface. Some commands are available for everyone on the chat, while other commands require a specific rank or power.

Default "/" commands

These commands can be used by everyone in any chat, though sometimes you need a certain rank.

/o Smiley effects

You can make the chat box automatically add smiley effects to all the smilies you send. To do this, type "/o" followed by the code of the effect without the # sign.

For example, if you want all of your smilies to be mirrored and you have the Mirror power, type "/om" in to the chat box and send it like a message. You can also combine effects. For example, "/omis" will make all the smilies mirrored, inverted and made square, as long as you have all the required powers. You can also combine color effects. For example, "/oFFFFFF" will make all of your smilies white.

If you want to remove the smiley effect you made, simply type "/o" in to the chat.

/f Add as friend by ID

To add any xat user to your friends list when you only have their ID, type "/f" followed by their ID. Optionally, you can add a name that you want to appear on your friends list.

For example, "/f999999999 Abcd" will add the user with the ID 999999999 to your friends list with the name "Abcd".

/t Ignore a user

Type "/t" in a private chat to ignore a user. If you have the TTTH power, you can also send a full-screen smiley/message along with ignoring.

You can also use the same command in PC to un-ignore a user.

/+ or /- enable or disable Powers

Type "/+powername" to enable a power or "/-powername" to disable a power.

For example, if you type "/-nopc" on the chat, it will disable the NoPC power.

/go Moving from a chat to another

On any chat you can use the /go command to move on another chat. All you need to have is the name of the group or its identification number.

For example, if you type /go xat5, you will be redirected to xat_test. Typing /go xat_test will do the same.

As group names are unique, the command isn't case sensitive.

Template:Img is only allowed in User: namespace. Use [[File:]] (more on that here) or Template:Gallery on articles instead.

/s Scroll message

If you are an owner or a main owner, you can set a scroll message to show at the bottom of the typing box by typing it in the chat. (See Example 1.)

You can, for example, type:

  • /sWelcome to my chat. Please behave well or you will be banned.

You can change the color by adding a color code. For example, add #FF0000 to the end of the message for red:

  • /sWelcome to my chat. Please behave well or you will be banned.#FF0000

/p Protect your group from raids

If your chat is being raided, an owner can enter protect mode by typing "/p" in the main chat. For 1 hour, new unregistered users will have to solve a captcha to join the chat. You can turn off protect mode by typing /p again. Note: There is a 15-second delay after you toggle protect mode on or off and when you may toggle it on or off again.

If "/p" does not work, you can use these alternative modes to increase the protection:

  • /pg or /p2 Captcha unregistered users and gag new guests for 3 minutes
  • /pc or /p3 Captcha all guests
  • /pr or /p4 Make the chat registered users only
  • /pm or /p5 Make the chat members only

The main owner of the chat can use Gcontrol power to change the default duration of hours and the default rank of who can turn on protect mode.

Note: Members and above do not need to complete a captcha when protect mode is on.

/i Information

If you are an owner, you can find out who last changed the scroll or who entered protect mode by typing "/i" in the main chat. You will then receive an automated message along the lines of "/s 1345634 /p 2365342", which shows you the IDs of the last users to use the "/s" and "/p" commands.

/m Make a user a moderator

Owners and main owners can type "/m" in a user's private chat to make them a moderator.

Power "/" commands

Some powers allow you to use more "/" commands. See their articles for more detail.

/away Away from chat

Add a timer to your pawn to show other users you are away from the chat. See more: Away.

/fNewNickname Change your friend's name

Change a friend's display name. See more: Nick.

/g Make yourself a guest

See more: Guestself.

/hrD Temporarily stop users from chatting

Gag all users of a certain rank at once, for a maximum of 60 seconds. This command has a number of customization options.

The default rank to use this command is owner or above. See more: Hush.

/hug Send a hug

Some powers may come with the ability to send hug animations. Although sending a hug in a private chat is free and has unlimited usage, sending a hug in the main chat costs 10 xats per hug, and a total of 20 hugs can be sent in 24 hours. For more information, see Hugs.

Here is an updated list of powers with hugs:

ID Logo Name Command(s) Notes
421 fireworksfx.png Fireworksfx /hug ny
420 battle.png Battle /hug battle
418 christmix.png Christmix /hug xpair
417 tropicalxmas.png Tropicalxmas /hug shark
413 funfair.png Funfair /hug funfair
412 graveyard.png Graveyard /hug grave
411 boo.png Boo /hug boo
410 classic.png Classic /hug classic
409 fall.png Fall /hug fall
408 meow.png Meow /hug meow
407 spacejinx.png Spacejinx /jinx [time in minutes]space[probability%] space and rspace have the same animation.
406 ten.png Ten /hug cel
/hug hippo
404 popcorns.png Popcorns /hug pop
401 summerhug.png Summerhug /hug ring
/hug ham
/hug ball
400 eggjinx.png Eggjinx /jinx [time in minutes]egg[probability%]
399 aprincess.png Aprincess /hug ap
395 tooth.png Tooth /hug tooth
394 hangjinx.png Hangjinx /jinx [time in minutes]hang[probability%]
393 diva.png Diva /hug car
391 chores.png Chores /hug clean
388 mom.png Mom /hug stork
387 jumblejinx.png Jumblejinx /jinx [time in minutes]jumble[probability%] jumble, mix, reverse, ends and middle have the same animation.
384 songkran.png Songkran /hug sk
382 fools.png Fools /hug slip
381 easterland.png Easterland /hug east
380 ebunny.png Ebunny /hug eb
379 patrick.png Patrick /hug pat
375 lovehug.png Lovehug /hug love
/hug bird
/hug bow
369 fireworkshug.png Fireworkshug /hug fireworks
367 sleighhug.png Sleighhug /hug sleigh
/hug sleigh Your message here#rocket
rocket can be replaced with snow, jeep or hover for different animations.
366 choirhug.png Choirhug /hug choir
35 purple.png Purple /hug purp
/hug purple

Note:

  • All hugs may include an optional message after the hug name.
  • These messages can be colored, for example: /hug ny Happy New Year!#ff0000 would use red text.
  • /hug can be interchanged with /hugall, and /jinx with /jinxall for the same animations. But always be aware of costs!

/jinx Send a jinx

This command is used to send jinxes, which change the target's chatting experience. For example, Jumblejinx will jumble the target's messages.

Jinxes can only be sent in a private chat, and not the main chat. While /jinx is free (jinxing the user in a private chat only), /jinxall (jinxing the user in the main chat) costs 10 xats per use. For more information, see Jinxes.

Here is an updated list of jinx powers:

ID Logo Name Command(s) Description
407 spacejinx.png Spacejinx /jinx [time in minutes]space[probability%] This command removes all spaces from a message, or adds random ones.
400 eggjinx.png Eggjinx /jinx [time in minutes]egg[probability%] This command adds "egg" before each vowel of a message.
394 hangjinx.png Hangjinx /jinx [time in minutes]hang[probability%] This command will remove some letters from a message and replace others with hangman-like text (underscores).
387 jumblejinx.png Jumblejinx
/jinx [time in minutes]jumble[probability%]
/jinx [time in minutes]mix[probability%]
/jinx [time in minutes]reverse[probability%]
/jinx [time in minutes]ends[probability%]
/jinx [time in minutes]middle[probability%]
These commands will jumble the letters of a message.
jumble - an assortment of any of the following settings:
mix - letters mixed up
reverse - letters reversed
ends - swaps first and last
middle - mixes the middle but leaves first and last alone

Note:

  • /jinx may be replaced with /jinxall, but, again, be aware of rising costs!
  • You cannot jinx a higher rank.

/ka Kick all guests

Kick all guests in the chat, with a number of customization options.

The default rank to use this command is moderator or above. See more: Kickall.

/m Make a temporary moderator

Promote guests and members to moderator for any duration of time, up to 24 hours.

The default rank to use this command is owner or above. See more: Tempmod.

/mb Make a temporary member

Promote guests to member rank for any duration of time, up to 24 hours.

The default rank to use this command is moderator or above. See more: Tempmem.

/mo Make a temporary owner

This command allows you to promote guests, members and moderators to owner rank for any duration of time up to 24 hours.

The default rank to use this command is main owner or above. See more: Tempown.

/n Sinbin a moderator

Type this command in a permanent moderator's private chat to strip their moderator abilities, from 36 seconds to 24 hours. This command will not work on temporary moderators.

The default rank to use this command is owner or above. See more: Sinbin.

/nbReasonHere Give a user a badge

Type this command in a user's private chat to give them a badge. The same command can be used to remove it.

The default rank to use this command is owner or above. See more: Badge.

/r Lock a user to a certain rank

Lock a user's rank, and prevent it from being changed by others until the lock is removed.

The default rank to use this command is owner or above. See more: Ranklock.

/t Talk to the hand

Type this command in a user's private chat to ignore them, with the option of a giant smiley appearing in their chat if they PC you. To add a smiley and message, type "/tMessage#smiley".

You can also test this by typing "/t" in the main chat to perfect your message and code. See more: TTTH.

Debug "/" commands

On the debug chats (chats that have a blue 8ball instead of the classic black one), there are some special commands you can use. You can also use the following commands on your own chat if you add "?test" to the end of your group's URL.

These commands seem (and are) generally useless, however they were once used by admins to create and test features.

Note that any messages sent are seen by you only.

/debug See debug information

The default "/debug" command will display some technical details about the chat; the memory usage; how many frames per second (FPS); the average frames per second (aFPS).

/debug clearlists Clear some cached chat data

When you use this command, some of the cached chat data will be cleared. The main chat and user list will be cleared, you will be added back to the top of the list with no cached rank and relationship. The data will begin to cache from that point on, adding users back to the user list when they sign in and begin to chat again.

/debug avs Control avatar effects

This command is used to control avatar effetcs, much like the $glitter macro. This effect is not persistent like the macro.

Use "/debug avs" or "/debug avs 0" to disable avatar effects, and "/debug avs 1" to enable them again.

/debug cacheback See swfs loaded into cache

This command puts a "back" on any swfs (pawns, smilies, etc.) that are loaded into cache. Use "/debug cacheback 1" to turn it on.

/debug zappri/primary/shadow Change the chat's connection details

These three commands all change the IP addresses that the chat connects on, but seem to have no effect.

/debug gctrick Send a "gctrick" Help message

Using "/debug gctrick 1" or any integer will cause the chat to send a Help message back with the same command you sent.

/debug smilietest Test different types of smilies

Test different types of smilies using "/debug smilietest 1" where "1" can be one of the following numbers:

  • 1 - Test random smilies
  • 2 - Test random smiley combinations
  • 3 - Test free smilies.

/debug fakemessage Send a number of dummy messages

Use "/debug fakemessage 1" where "1" can be any number up to 200, and that number of lorem ipsum extracts will be posted on to the chat.

/debug avtest Test two random avatars

Use "/debug avtest 1" and you will start sending messages with two random avatars.

/debug graph See graphs based on debug information

For this command to work, you must first type "/debug". In itself, the graph command has 4 options:

  • 0 - Off.
  • 1 - A horizontal line graph representing your memory usage.
  • 2 - A vertical line graph representing your memory usage.
  • 3 - Both of the above.
  • 4 - A vertical line graph representing your frames per second (FPS).

/debug msgcount Count your messages

Type "/debug msgcount 1" for the chat to automatically start counting your messages from 1. Use "/debug msgcount off" to stop counting.

You can also use any other number instead of 1 to start counting from then.

/debug fps Change the frames per second (FPS) of the chat

The higher the FPS, the faster the animations in the chat. Use "/debug fps 24" to make the chat twice as fast.

Use "/debug fps 0" or "/debug fps 12" to go back to normal.

/debug cache Load an array of smilies into your cache

Type "/debug cache" and a load of smilies (12x12 by default) will overlay the chat. You can use "/debug cache 1 2", where 1 is the speed, and 2 is the number of rows. Repeating the command does not clear the previous smilies.

You must refresh to make it disappear.

You need to refresh to get rid of it.

/debug nocache Load smilies on to the chat

You use this command by typing "/debug nocache 12 pty" where 12 is the number of rows, and pty is the smiley. Repeating the command does not clear the previous smilies.

You must refresh to make it disappear.

/debug dp Testing assigning group powers

Use "/debug dp power 1" where power is the power name. If you own the power, it will return a "Power unassigned ok" message. Otherwise it will return "Power system error (db down)" message.

/debug bump Test the bump noise

This command simply plays the bump sound and plays the animation.

/debug stest Smiley testing mechanism

The chat has a built in smiley testing mechanism that is turned on using this command. You must run the chat swf locally, put smiley swfs "C:\smilies\test\" and set the names in the macro $stest like so: "$stest=placeholder,smiley1,smiley2,smiley3", use the /debug stest command and sign out and in.