Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:Sky (AddOn)
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== sendMessage === * This can be used for regular chat, the only difference from SendChatMessage will be that it will be bound by the outbound character limit and chopped into pieces if it's too long. * SAY, WHISPER, PARTY, GUILD, RAID and CHANNEL messages will not be parsed or have special characters encoded. * SKY_CHANNEL, SKY_GROUP, SKY_GUILD, and SKY_PLAYER have line breaks, "s", "S" and "|" converted to invisible characters and back to their correct characters on the recieving end. EX: <pre> Sky.sendMessage("Group Members Rock!", "PARTY") Sky.sendMessage("Whispers Rock!", "WHISPER", nil, "PlayerName") Sky.sendMessage("101101001 Blah", SKY_CHANNEL, "AddonID") </pre> <pre> --[[ -- sendMessage(message [, system, target, player]) -- -- Sends a simple text message to a -- specified target using Sky. -- -- Args: -- message - the text to be delivered -- -- optional (Default is an unencoded "SAY" to no particular target): -- -- system - channel/system used for transport -- (Sky Encoded & Hidden Messages) -- SKY_CHANNEL |"global" - sends to all Sky users -- SKY_GROUP - sends to party/raid members using Sky -- SKY_GUILD - sends to all guild members using Sky -- SKY_PLAYER - sends to a player using Sky, through a hidden whisper -- (Pure/Visible Messages) -- "SAY" sends to the world regardless of Sky usage -- "WHISPER" sends to a player regardless of Sky usage -- "PARTY" sends to a party regardless of Sky usage -- "GUILD" sends to a guild regardless of Sky usage -- "RAID" sends to a raid regardless of Sky usage -- "CHANNEL" sends to a particular channel (1, general, etc) -- -- target - destination mailbox -- This value will be the .target value of the envelope sent to acceptTest -- -- player - -- ( channel identifier for "CHANNEL" ) -- ( playername for SKY_PLAYER/"WHISPER" ) -- ( nil for everything else ) -- --]] </pre>
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)