Petsay (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
m (minor formatting)
imported>Konoko (historical)
(→‎Overview: all petsay commands)
Line 1: Line 1:
== Overview ==
== Overview ==
'''petsay_all''' ''text, emote, possibly colors''<br>
'''petsay_all''' ''text''<br>
'''petsay_all''' &lt;em ''emote name''&gt; ''text''
'''petsay_all &lt;em''' ''emote name'''''&gt;''' ''text''
<br>&nbsp;sent to all pets


Whatever ''text'' is entered will only be visible to those that have "display pet text'' enabled.
'''petsay''' ''text''
<br>&nbsp;sent to the currently selected pet


'''petsay_pow''' ''power(truncated)'' ''text''
<br>&nbsp; sent to pets that most closely match the power
'''petsay_name''' ''petname(truncated)'' ''text''
<br>&nbsp; sent to pet that most closely match the name
Since these are similar to other [[Chat Commands|chat commands]], you can replace ''text'' with color modifiers.
Power(truncated) is the name of the power that was used to summon the pet. If you use the full power name with spaces, then you must put the name of the power in quotes. However binds get broken if there are quotes inside of quotes. Therefore it is best to truncate the power name. Since all the summon powers are unique for the first three or four letters, you can truncate them as such. However, if you use an abbreviation that has letters common with two summon powers, the command will be sent to all pets that match those powers. In [[Ninjas]], we have Call Genin, Call Jounin, and Oni. If the command is '''petsay_pow nin We win!''', then all the Genins and Jounins will say "We win!", but the Oni will not.
Petname(truncated) can be used the same way as power(truncated) can. Pretend you've renamed the three minions to Harold Smith, Jeff Johnson, and Michael Thorson. All of them have the letter O in their name, but only two have the letter I. Two of them have "son" in their name. And finally, two of them have the letters "TH" in common. They all have spaces in their name, and creating binds/macros with spaces and quotes can, and will, break. So you can shorten their names to just their last names.


== Example: ==
== Example: ==

Revision as of 21:24, 16 June 2006

Overview

petsay_all text
petsay_all <em emote name> text
 sent to all pets

petsay text
 sent to the currently selected pet

petsay_pow power(truncated) text
  sent to pets that most closely match the power

petsay_name petname(truncated) text
  sent to pet that most closely match the name

Since these are similar to other chat commands, you can replace text with color modifiers.

Power(truncated) is the name of the power that was used to summon the pet. If you use the full power name with spaces, then you must put the name of the power in quotes. However binds get broken if there are quotes inside of quotes. Therefore it is best to truncate the power name. Since all the summon powers are unique for the first three or four letters, you can truncate them as such. However, if you use an abbreviation that has letters common with two summon powers, the command will be sent to all pets that match those powers. In Ninjas, we have Call Genin, Call Jounin, and Oni. If the command is petsay_pow nin We win!, then all the Genins and Jounins will say "We win!", but the Oni will not.

Petname(truncated) can be used the same way as power(truncated) can. Pretend you've renamed the three minions to Harold Smith, Jeff Johnson, and Michael Thorson. All of them have the letter O in their name, but only two have the letter I. Two of them have "son" in their name. And finally, two of them have the letters "TH" in common. They all have spaces in their name, and creating binds/macros with spaces and quotes can, and will, break. So you can shorten their names to just their last names.

Example:

petsayall <em drink> All pets will hold a coffee cup and drink occasionally
petsayall Waiting... A chat bubble will appear above all the pets' heads with "Waiting.." in it.
petsayall <em drumdance> We have to go potty!! guess...


Common Uses

Besides setting a pet's stance with one of the petcom, it can be useful for the pets to also express their change visually.