my skill to write macros = 0 - can someone point me out, where to put that code into kissassist.mac, to be able to answer campchecks automatically (or is there a better way to do this)?
code found from: http://www.redguides.com/community/showthread.php/7950-Need-Help-please?highlight=campcheck
thanks a lot....
Rich (BB code):
#Event CampCheck "#*#Camp Check#*#"
Sub Main
/declare CCWaitTimer timer outer
' Set in seconds. I don't remember if you can use minutes in timer vars or not.
/declare ccdelay int outer 180
:ForeverLoop
/doevents CampCheck
/goto :ForeverLoop
/return
Sub Event_CampCheck
if (${CCWaitTimer}==0 ) {
/delay 3s
/echo Someone called a camp check, responding and setting a timer!
/ooc Quarm Camped!
/varset CCWaitTimer ${ccdelay}s
}
/return
code found from: http://www.redguides.com/community/showthread.php/7950-Need-Help-please?highlight=campcheck
thanks a lot....