Jump to content

[HELP] quick SCRIPTING question with l2Day scrolls


Recommended Posts

here is what i "made up" but doesnt work

 

i want a script where ever 3300 seconds to repeat the l2day buff scrolls.

in the two attempts i made so far, it would only do the first one, then it would go streight into the delay.

what i want is it to to all the scrools, then goto the delay, and then do it again.

 

/////////////////////////////////////////////////////////////////////////////////

LABEL(MANA)

{

USEITEM(L2Day - Scroll of Shield[iD=3935])

USEITEM(L2Day - Scroll of Focus[iD=3928])

USEITEM(L2Day - Scroll of Might[iD=3933])

USEITEM(L2Day - Scroll of Guidance[iD=3926])

USEITEM(L2Day - Scroll of Agility[iD=3931])

USEITEM(L2Day - Scroll of Death Whisper[iD=3927])

}

DELAY(3300000)

JMP(MANA)

/////////////////////////////////////////////////////////////////////////////////

 

 

also tried this, again didnt work

 

/////////////////////////////////////////////////////////////////////////////////

LABEL(MANA)

USEITEM(L2Day - Scroll of Shield[iD=3935])

USEITEM(L2Day - Scroll of Focus[iD=3928])

USEITEM(L2Day - Scroll of Might[iD=3933])

USEITEM(L2Day - Scroll of Guidance[iD=3926])

USEITEM(L2Day - Scroll of Agility[iD=3931])

USEITEM(L2Day - Scroll of Death Whisper[iD=3927])

DELAY(3300000)

JMP(MANA)

/////////////////////////////////////////////////////////////////////////////////

 

 

any ideas?

 

 

 

Link to comment
Share on other sites

so its gonna be like this?

 

 

/////////////////////////////////////////////////////////////////////////////////

LABEL(MANA)

USEITEM(L2Day - Scroll of Shield[iD=3935])

DELAY(1000)

USEITEM(L2Day - Scroll of Focus[iD=3928])

DELAY(1000)

USEITEM(L2Day - Scroll of Might[iD=3933])

DELAY(1000)

USEITEM(L2Day - Scroll of Guidance[iD=3926])

DELAY(1000)

USEITEM(L2Day - Scroll of Agility[iD=3931])

DELAY(1000)

USEITEM(L2Day - Scroll of Death Whisper[iD=3927])

DELAY(1000)

DELAY(3300000)

JMP(MANA)

/////////////////////////////////////////////////////////////////////////////////

Link to comment
Share on other sites

i had one more generic question.

 

when using the walkers Healing feature (if hp <%% rest until....) my bot will stop using potions. is there anyway to make him sit, until hp is at a good percentage AND use healing potions? i assume its done with a script but im not sure how.

Link to comment
Share on other sites

hmmm, it worked but stopped at the second scroll. im going to increase the delay to 2000

 

 

 

edit: wtf, it still stops at the second scroll, even tho the delay gives a time gap in between them. im increasing it to 4000

 

 

 

 

OKAY IT WORKS!!! ;-P

 

 

thx

 

now see if you can answer the other question regarding sitting

Link to comment
Share on other sites

more delays, and less long

 

/////////////////////////////////////////////////////////////////////////////////

LABEL(MANA)

USEITEM(L2Day - Scroll of Shield[iD=3935])

USEITEM(L2Day - Scroll of Focus[iD=3928])

USEITEM(L2Day - Scroll of Might[iD=3933])

USEITEM(L2Day - Scroll of Guidance[iD=3926])

USEITEM(L2Day - Scroll of Agility[iD=3931])

USEITEM(L2Day - Scroll of Death Whisper[iD=3927])

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

DELAY(150000)

JMP(MANA)

/////////////////////////////////////////////////////////////////////////////////

Link to comment
Share on other sites

Label(HP)
CharStatus(HP,>,1)  //eat mana only if health is over 1%
{
CharStatus(HP,<,99) //use pot if hp is lower than 99%
{
//potion:
USEITEM(do this urself..
}
}
DELAY(1000)
Call(HP)

 

thanks. ill work with it

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...