Chats

From LSWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 20:36, 19 January 2007 (edit)
Msb (Talk | contribs)
(Chat variables moved to Chats: want this page to be more general)
← Previous diff
Revision as of 20:39, 19 January 2007 (edit)
Msb (Talk | contribs)

Next diff →
Line 1: Line 1:
-Here are some variables you can use in chats and combat chats.+==Chat Variables==
 + 
 +Here are some [[escape characters]] you can use in chats and combat chats.
*%e, enemy *%e, enemy
Line 8: Line 10:
*%b, bystander, like someone not involved in combat *%b, bystander, like someone not involved in combat
*%h, someone hiding, i.e. someone attacking you other than the person you're attacking *%h, someone hiding, i.e. someone attacking you other than the person you're attacking
 +
 +==Closures in Chats==
 +
 +There are any number of reasons to use [[closures]] in chats. The simplest case is that you want a correct message of the [[autonomon]] in question interacting with an object. For example, the fishermen in Hanoma perform various actions directed at their fishing rods.
 +
 +Example...
 +
 +More complex cases can include varying the response depending on conditions.
 +
 +Example...

Revision as of 20:39, 19 January 2007

Chat Variables

Here are some escape characters you can use in chats and combat chats.

  • %e, enemy
  • %f, friend
  • %s, source (on chat responses)
  • %p, person, prefers players but will choose an NPC if one isn't around
  • %s, source, i.e. the thing that initiates a response for responses
  • %b, bystander, like someone not involved in combat
  • %h, someone hiding, i.e. someone attacking you other than the person you're attacking

Closures in Chats

There are any number of reasons to use closures in chats. The simplest case is that you want a correct message of the autonomon in question interacting with an object. For example, the fishermen in Hanoma perform various actions directed at their fishing rods.

Example...

More complex cases can include varying the response depending on conditions.

Example...

Personal tools