Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function On_Gossip(event, plr, unit)
- -- Menus
- plr:GossipClearMenu()
- plr:GossipMenuAddItem(0, "Was genau giebt es hier schon ?", 1, 1)
- plr:GossipMenuAddItem(0, "|cff1A02F5Player commands ?|r", 0, 2)
- plr:GossipMenuAddItem(0, "|cff1A02F5Custom Chat Commands ? |r", 0, 3)
- plr:GossipMenuAddItem(0, "|cffff0000Text|r", 0, 4)
- plr:GossipMenuAddItem(0, "|cffff0000Text|r", 0, 5)
- plr:GossipMenuAddItem(0, "|cffff0000Text|r", 0, 6)
- plr:GossipMenuAddItem(0, "|cffff0000Text|r", 0, 7)
- plr:GossipMenuAddItem(0, "|cffff0000Text|r", 0, 8)
- plr:GossipMenuAddItem(0, "|cffff0000Text|r", 0, 9)
- plr:GossipSendMenu(1, unit)
- end
- function On_Select(event, player, unit, sender, intid, code)
- -- Custom messages
- player:GossipClearMenu()
- -- How do I get gold?
- if (intid == 1) then
- player:SendBroadcastMessage("Test Message 1")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement