SpawnChecker v1.0...
Posted: Sun Jun 06, 2004 4:50 am
SpawnChecker v1.0...
Description: SpawnChecker follows the KISS methodology(Keep It Simple Stupid), and simply checks a list of npc names for their presence in the zone. If the mob is present the script will echo
<<<<::..A Mob is present!
Hint: This script can be very useful! Let others do the work for you
Log in after a hard day at work, take a quick stroll over to Veksars, and run this script. Most likely placeholders have been being killed all day yet you now have the ability to check for nameds with one command "/macro veksar"!
I will post a few examples of SpawnChecker zone files to get you all started. Please review these lists and make sure they are accurate and complete.
If you create your own SpawnChecker macro, be kind, return to the community and post it here! That is all I ask.
One thing to remember when creating a SpawnChecker zone file: The NPC name used in:
/Call CheckForSpawn "NPC's Name" MUST be spelled correctly, and is not case sensative.
SpawnChecker - Veksar...
SpawnChecker - Droga...
Description: SpawnChecker follows the KISS methodology(Keep It Simple Stupid), and simply checks a list of npc names for their presence in the zone. If the mob is present the script will echo
<<<<::..A Mob is present!
Hint: This script can be very useful! Let others do the work for you
I will post a few examples of SpawnChecker zone files to get you all started. Please review these lists and make sure they are accurate and complete.
If you create your own SpawnChecker macro, be kind, return to the community and post it here! That is all I ask.
One thing to remember when creating a SpawnChecker zone file: The NPC name used in:
/Call CheckForSpawn "NPC's Name" MUST be spelled correctly, and is not case sensative.
SpawnChecker - Veksar...
Code: Select all
| SpawnChecker v1.0 - Veksar
| veksar.mac
| Author : Anon123
| Version : v1.0 2004-06-06
| Useage : /macro veksar
| Description : This macro will check if any nameds who drop loot are up in Veksar.
| Props : Props to necrotalk.com for helping me with necro related issues.
|------------------------------------------------------------------------------------
|--------------------------------------------------------------------------------
|SUB: Check for spawn sub declared here..
|--------------------------------------------------------------------------------
Sub CheckForSpawn(SpawnName)
/declare mySpawnID int local 0
/varset mySpawnID ${Spawn[NPC ${SpawnName}].ID}
/echo checking for ${SpawnName}..
/if (${mySpawnID}) {
/echo <<<<<<..::${Spawn[${mySpawnID}].CleanName} is present!
}
/return
Sub Main
|--------------------------------------------------------------------------------
|Call CheckForSpawn "Enter spawn name here"
|--------------------------------------------------------------------------------
/call CheckForSpawn "a plagued slave"
/call CheckForSpawn "a sad slave"
/call CheckForSpawn "an undead thief"
/call CheckForSpawn "a decaying slavemaster"
/call CheckForSpawn "a rotting shopkeeper"
/call CheckForSpawn "a decaying slavemaster"
/call CheckForSpawn "a kylong crusader"
/call CheckForSpawn "an iksar highborn"
/call CheckForSpawn "trooper muruk"
/call CheckForSpawn "warlock dirloz"
/call CheckForSpawn "warlock gurag"
/call CheckForSpawn "feral lord gulok"
/call CheckForSpawn "hierophant ginai"
/call CheckForSpawn "hierophant vradik"
/call CheckForSpawn "an iksar behemoth"
/call CheckForSpawn "an undying blacksmith"
/call CheckForSpawn "champion kamak"
/call CheckForSpawn "luminary salox"
/call CheckForSpawn "remains of sythrax"
/return
Code: Select all
| SpawnChecker v1.0 - Droga
| veksar.mac
| Author : Anon123
| Version : v1.0 2004-06-06
| Useage : /macro Droga
| Description : This macro will check if any nameds who drop loot are up in Droga.
| Props : Props to necrotalk.com for helping me with necro related issues.
|------------------------------------------------------------------------------------
|--------------------------------------------------------------------------------
|SUB: Check for spawn sub declared here..
|--------------------------------------------------------------------------------
Sub CheckForSpawn(SpawnName)
/declare mySpawnID int local 0
/varset mySpawnID ${Spawn[NPC ${SpawnName}].ID}
/echo checking for ${SpawnName}..
/if (${mySpawnID}) {
/echo <<<<<<..::${Spawn[${mySpawnID}].CleanName} is present!
}
/return
Sub Main
|--------------------------------------------------------------------------------
|Call CheckForSpawn "Enter spawn name here"
|--------------------------------------------------------------------------------
/call CheckForSpawn "bone knight runri"
/call CheckForSpawn "bone caster fizzik"
/call CheckForSpawn "bone trooper grolin"
/call CheckForSpawn "dirt criminal vakov"
/call CheckForSpawn "dust hoodlum heaprit"
/call CheckForSpawn "earth mystic gedak"
/call CheckForSpawn "earth seer gamolk"
/call CheckForSpawn "flame master japal"
/call CheckForSpawn "ice adept amozik"
/call CheckForSpawn "ice master cialin"
/call CheckForSpawn "jailor maufan"
/call CheckForSpawn "king dronan"
/call CheckForSpawn "minion of xalgoz"
/call CheckForSpawn "magic adept xabok"
/call CheckForSpawn "stone crook piklo"
/call CheckForSpawn "whip cracker krazzim"
/call CheckForSpawn "moss knight yortal"
/call CheckForSpawn "slinker ukul"
/call CheckForSpawn "cave guardian prehtil"
/call CheckForSpawn "bone caller nathid"
/call CheckForSpawn "dirt defender gropp"
/call CheckForSpawn "blood ritualist taprom"
/call CheckForSpawn "stalag trooper biamas"
/call CheckForSpawn "flame adept verdalix"
/call CheckForSpawn "death ritualist stromik"
/call CheckForSpawn "stone seer kaigek"
/call CheckForSpawn "a savage drogan spider"
/call CheckForSpawn "a fierce drogan spider"
/return