The id of the specified npc. Integer.
Server cycle that the specified NPC was created on - obtained by ClientOp.npcCreationCycle. Integer.
The id of the specified highlight channel [1-32]. Positive Integer.
Whether the specified npc has been highlighted through the specified channel. If specified channel does not exist this is also false.
id = osrs.ClientOp.getNpcIdByName("Brugsen Bursen")
osrs.ClientOp.highlightNpcOn(id, osrs.ClientOp.npcCreationCycle(id), 6)
-- Prints: true
osrs.print(tostring(osrs.ClientOp.highlightNpcChannelActive(id, osrs.ClientOp.npcCreationCycle(id), 6)))
osrs.ClientOp.highlightNpcOff(id, osrs.ClientOp.npcCreationCycle(id), 6)
-- Prints: false
osrs.print(tostring(osrs.ClientOp.highlightNpcChannelActive(id, osrs.ClientOp.npcCreationCycle(id), 6)))
Finds if the specified npc has been highlighted through the specified channel.