Recent Posts
None | 17 sec ago
Lua | 26 sec ago
None | 56 sec ago
None | 1 min ago
Java | 2 min ago
None | 2 min ago
C | 2 min ago
C | 2 min ago
None | 2 min ago
Lua | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By ss on the 9th of Feb 2010 11:13:25 PM Download | Raw | Embed | Report
  1.  
  2. function A_OnGossipTalk(pUnit, event, Player, pMisc)
  3.    if (Player:IsInCombat() == true) then
  4.    Player:SendAreaTriggerMessage("Please leave combat first.")
  5.    Player:SendBroadcastMessage("Please leave combat first.")
  6.    pUnit:GossipComplete(player)
  7.    else
  8.    pUnit:GossipCreateMenu(44424, Player, 0)
  9.    pUnit:GossipMenuAddItem(0, "Do you wish to get a key for Terracotta army", 12, 0)
  10.    pUnit:GossipMenuAddItem(0, "No I don't want to get a key.", 9, 0)
  11.    pUnit:GossipSendMenu(Player)
  12.    end
  13. end
  14.  
  15. function A_OnGossipSelect(pUnit, event, Player, id, intid, code, pMisc)
  16.     if (intid == 12) and Player~= nil then
  17.     Player:GossipSendPOI(Player, 7864.668945, -1397.432983, 5, 6, 0, "Checkpoint 1")
  18.     local Name = Player:GetName()
  19.     pUnit:SendChatMessage(12, 0, "Look on your map and minimap "..Name.." to see where to go first!")
  20.     pUnit:GossipComplete(Player)
  21.     end
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: