• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Request - put the code inside ka... (1 Viewer)

Joined
Jun 30, 2006
RedCents
858¢
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)?


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....
 
this is a macro so not all of it can go into kiss

Put this at the top with events
Rich (BB code):
#Event CampCheck "#*#Camp Check#*#"

put this at at eh bottom of the all the /declares
Rich (BB code):
/declare CCWaitTimer timer outer
/declare ccdelay int outer 180

you can drop this in at the very bottom of the macro
Rich (BB code):
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

Change this line to your camp obviously
Rich (BB code):
   /echo Someone called a camp check, responding and setting a timer!
 
Request - put the code inside ka...

Users who are viewing this thread

Back
Top