|Buffbeg.mac
|
| todo
| * check ppl in RAID instead of in guild
| * ask for mod rod
| * if no pallies present in raid, ask bst for SV, OR ranger for suk hp
| * check classes present before begging, drop virtue for kaz+9, drop SV for brells
| * beg if buffs expiring in less than 10 minutes
Sub Main
/declare NeedClericHP int local 0
/declare NeedClericHaste int local 0
/echo Begging for buffs
|-----------------------------------------------------
|- Enchanter
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Enchanter"]}) {
/if ( (!${Me.Buff["Voice of Clairvoyance"].ID}) && (!${Me.Buff["Clairvoyance"].ID}) && (!${Me.Buff["Voice of Quellious"].ID}) && (!${Me.Buff["Tranquility"].ID}) && (!${Me.Buff["Koadic's Endless Intellect"].ID}) ) {
/if (${String[${NearestSpawn[PC guild enchanter]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild enchanter].Distance}<=100) {
/tell ${NearestSpawn[PC guild enchanter]} voq please
/delay 20
} else /e No guild Enchanter available for VOQ
}
}
|-----------------------------------------------------
|- Druid
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Druid"]}) {
/if ( (!${Me.Buff["Blessing of Steeloak"].ID}) && (!${Me.Buff["Steeloak Skin"].ID}) && (!${Me.Buff["Protection of the Nine"].ID}) && (!${Me.Buff["Blessing of the Nine"].ID}) && (!${Me.Buff["Virtue"].ID}) && (!${Me.Buff["Hand of Virtue"].ID}) ) {
/if (${String[${NearestSpawn[PC guild druid]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild druid].Distance}<=100) {
/tell ${NearestSpawn[PC guild druid]} 9 please
/delay 20
} else /e No guild Druid available for 9
}
|fixme: drop conv/virt if i have that on
}
|-----------------------------------------------------
|- Beastlord
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Beastlord"]}) {
/if ( (!${Me.Buff["Spiritual Ascendance"].ID}) && (!${Me.Buff["Spiritual Dominion"].ID}) ) {
/if (${String[${NearestSpawn[PC guild beastlord]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild beastlord].Distance}<=100) {
/tell ${NearestSpawn[PC guild beastlord]} sd please
/delay 20
} else /e No guild Beastlord available for SD
}
}
|-----------------------------------------------------
|- Cleric
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Cleric"]}) {
/if ( (!${Me.Buff["Conviction"].ID}) && (!${Me.Buff["Hand of Conviction"].ID}) && (!${Me.Buff["Virtue"].ID}) && (!${Me.Buff["Hand of Virtue"].ID}) && (!${Me.Buff["Symbol of Balikor"].ID}) && (!${Me.Buff["Balikor's Mark"].ID}) && (!${Me.Buff["Symbol of Kazad"].ID}) && (!${Me.Buff["Kazad`s Mark"].ID}) ) {
/if (${String[${NearestSpawn[PC guild cleric]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild cleric].Distance}<=100) {
/varset NeedClericHP 1
} else /e No guild Cleric available for Symbol
}
/if ( (!${Me.Buff["Blessing of Reverence"].ID}) && (!${Me.Buff["Aura of Reverence"].ID}) && (!${Me.Buff["Blessing of Devotion"].ID}) && (!${Me.Buff["Aura of Devotion"].ID}) ) {
/if (${String[${NearestSpawn[PC guild cleric]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild cleric].Distance}<=100) {
/varset NeedClericHaste 1
} else /e No guild Cleric available for Spell Haste
}
/if (${NeedClericHP} || ${NeedClericHaste}) {
/if (${NeedClericHP} && ${NeedClericHaste}) {
/tell ${NearestSpawn[PC guild cleric]} symbol & spell haste please
} else /if (${NeedClericHP}) {
/tell ${NearestSpawn[PC guild cleric]} symbol please
} else {
/tell ${NearestSpawn[PC guild cleric]} spell haste please
}
/delay 20
}
}
|-----------------------------------------------------
|- Paladin
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Paladin"]}) {
/if ( (!${Me.Buff["Brell's Brawny Bulwark"].ID}) && (!${Me.Buff["Brell's Stalwart Shield"].ID}) && (!${Me.Buff["Spiritual Vitality"].ID}) && (!${Me.Buff["Spiritual Vigor"].ID}) ) {
/if (${String[${NearestSpawn[PC guild paladin]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild paladin].Distance}<=100) {
/tell ${NearestSpawn[PC guild paladin]} brells please
/delay 20
} else /e No guild Paladin available for BSS
}
}
|-----------------------------------------------------
|- Shaman
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Shaman"]}) {
/if ( (!${Me.Buff["Shield of Maelin"].ID}) && (!${Me.Buff["Focus of the Seventh"].ID}) && (!${Me.Buff["Focus of Soul"].ID}) && (!${Me.Buff["Wunshi's Focusing"].ID}) ) {
/if (${String[${NearestSpawn[PC guild shaman]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild shaman].Distance}<=100) {
/tell ${NearestSpawn[PC guild shaman]} focus please
/delay 20
} else /e No guild Shaman available for Focus
}
}
/end
any one able to add new spells to this ?
|
| todo
| * check ppl in RAID instead of in guild
| * ask for mod rod
| * if no pallies present in raid, ask bst for SV, OR ranger for suk hp
| * check classes present before begging, drop virtue for kaz+9, drop SV for brells
| * beg if buffs expiring in less than 10 minutes
Sub Main
/declare NeedClericHP int local 0
/declare NeedClericHaste int local 0
/echo Begging for buffs
|-----------------------------------------------------
|- Enchanter
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Enchanter"]}) {
/if ( (!${Me.Buff["Voice of Clairvoyance"].ID}) && (!${Me.Buff["Clairvoyance"].ID}) && (!${Me.Buff["Voice of Quellious"].ID}) && (!${Me.Buff["Tranquility"].ID}) && (!${Me.Buff["Koadic's Endless Intellect"].ID}) ) {
/if (${String[${NearestSpawn[PC guild enchanter]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild enchanter].Distance}<=100) {
/tell ${NearestSpawn[PC guild enchanter]} voq please
/delay 20
} else /e No guild Enchanter available for VOQ
}
}
|-----------------------------------------------------
|- Druid
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Druid"]}) {
/if ( (!${Me.Buff["Blessing of Steeloak"].ID}) && (!${Me.Buff["Steeloak Skin"].ID}) && (!${Me.Buff["Protection of the Nine"].ID}) && (!${Me.Buff["Blessing of the Nine"].ID}) && (!${Me.Buff["Virtue"].ID}) && (!${Me.Buff["Hand of Virtue"].ID}) ) {
/if (${String[${NearestSpawn[PC guild druid]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild druid].Distance}<=100) {
/tell ${NearestSpawn[PC guild druid]} 9 please
/delay 20
} else /e No guild Druid available for 9
}
|fixme: drop conv/virt if i have that on
}
|-----------------------------------------------------
|- Beastlord
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Beastlord"]}) {
/if ( (!${Me.Buff["Spiritual Ascendance"].ID}) && (!${Me.Buff["Spiritual Dominion"].ID}) ) {
/if (${String[${NearestSpawn[PC guild beastlord]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild beastlord].Distance}<=100) {
/tell ${NearestSpawn[PC guild beastlord]} sd please
/delay 20
} else /e No guild Beastlord available for SD
}
}
|-----------------------------------------------------
|- Cleric
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Cleric"]}) {
/if ( (!${Me.Buff["Conviction"].ID}) && (!${Me.Buff["Hand of Conviction"].ID}) && (!${Me.Buff["Virtue"].ID}) && (!${Me.Buff["Hand of Virtue"].ID}) && (!${Me.Buff["Symbol of Balikor"].ID}) && (!${Me.Buff["Balikor's Mark"].ID}) && (!${Me.Buff["Symbol of Kazad"].ID}) && (!${Me.Buff["Kazad`s Mark"].ID}) ) {
/if (${String[${NearestSpawn[PC guild cleric]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild cleric].Distance}<=100) {
/varset NeedClericHP 1
} else /e No guild Cleric available for Symbol
}
/if ( (!${Me.Buff["Blessing of Reverence"].ID}) && (!${Me.Buff["Aura of Reverence"].ID}) && (!${Me.Buff["Blessing of Devotion"].ID}) && (!${Me.Buff["Aura of Devotion"].ID}) ) {
/if (${String[${NearestSpawn[PC guild cleric]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild cleric].Distance}<=100) {
/varset NeedClericHaste 1
} else /e No guild Cleric available for Spell Haste
}
/if (${NeedClericHP} || ${NeedClericHaste}) {
/if (${NeedClericHP} && ${NeedClericHaste}) {
/tell ${NearestSpawn[PC guild cleric]} symbol & spell haste please
} else /if (${NeedClericHP}) {
/tell ${NearestSpawn[PC guild cleric]} symbol please
} else {
/tell ${NearestSpawn[PC guild cleric]} spell haste please
}
/delay 20
}
}
|-----------------------------------------------------
|- Paladin
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Paladin"]}) {
/if ( (!${Me.Buff["Brell's Brawny Bulwark"].ID}) && (!${Me.Buff["Brell's Stalwart Shield"].ID}) && (!${Me.Buff["Spiritual Vitality"].ID}) && (!${Me.Buff["Spiritual Vigor"].ID}) ) {
/if (${String[${NearestSpawn[PC guild paladin]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild paladin].Distance}<=100) {
/tell ${NearestSpawn[PC guild paladin]} brells please
/delay 20
} else /e No guild Paladin available for BSS
}
}
|-----------------------------------------------------
|- Shaman
|-----------------------------------------------------
/if (!${String[${Me.Class}].Equal["Shaman"]}) {
/if ( (!${Me.Buff["Shield of Maelin"].ID}) && (!${Me.Buff["Focus of the Seventh"].ID}) && (!${Me.Buff["Focus of Soul"].ID}) && (!${Me.Buff["Wunshi's Focusing"].ID}) ) {
/if (${String[${NearestSpawn[PC guild shaman]}].NotEqual[NULL]}) /if (${NearestSpawn[PC guild shaman].Distance}<=100) {
/tell ${NearestSpawn[PC guild shaman]} focus please
/delay 20
} else /e No guild Shaman available for Focus
}
}
/end
any one able to add new spells to this ?