Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
167
Talk To Npc on Attack #42
Target an NPC to say Hi, Trade.
268b | 8 lines.
npcAttack = macro(10000, "Talk to NPC", function() end)
onAttackingCreatureChange(function(creature, oldCreature)
    if npcAttack:isOff() then return end
    if creature and creature:isNpc() then
        NPC.say("hi")
        scheduleNpcSay("trade", 200)
    end
end)

01 Jul 2021