ahh i finally ran across what i read in the past.
Here it is if anyone interested...
******************************************
Example of a CH script to be run from a non cleric .ini (warrior)
I figure I might as well be posting some of the script versions of other macros that I've been seeing around, but written my own thing so I could just keep modbot running.
Modbot script version of CH chain that seems to work, though might have problems I haven't noticed.... I use this with a hotkey from my tank -```"/mb script chain 50" (yes it's in MB\_tank.ini - NOT the cleric.ini.. ) It finds all clerics in netbots, then runs through the list telling each to cast CH after the delay you specify. This script does require the clerics to all be running modbot with an alias of CH for complete heal spell,`and connection to the same EQBCS server.
`Commands=13`
`C1=/multiline ; /declare clrlist string local;/declare x int local 1;/declare StopLoop bool local FALSE`
`C2=/if ({Spawn[{NetBots.Client.Arg[{x}]}].Class.ShortName.Equal[clr]}) /varset clrlist {clrlist} {NetBots.Client.Arg[{x}]}`
`C3=/if ({x} < {NetBots.Counts}) /multiline ; /varset a 1;/varcalc x {x}+1`
`C4=/echo Clerics: {clrlist} casting {Math.Calc[{Param1}/10]}s apart`
`C5=/varset x 0`
`C6=/varset Timer 100`
`C7=/varcalc x {x}+1`
`C8=/if ((!{Spawn[{clrlist.Arg[{x}]}].ID} || {NetBots[{clrlist.Arg[{x}]}].PctMana} < 3) && {x} <= {clrlist.Count[ ]}) /varset a 5`
`C9=/if ((!{Spawn[{clrlist.Arg[{x}]}].ID} || {NetBots[{clrlist.Arg[{x}]}].PctMana} < 3) && {x} > {clrlist.Count[ ]}) /varset a 4`
`C10=/bc {clrlist.Arg[{x}]} cast ch`
`C11=/delay {Param1}`
`C12=/if ({x}>{clrlist.Count[ ]}) /varset a 4`
`C13=/if (!{StopLoop}) /varset a 5`
````` Posted By Ptarp Tue Apr 12, 2011 1:01 am. Moved to Wiki by Arblis\`