Skip to content

[Scripts]Improved mana potion script.

Featured Replies

Nothing special...

This script is almost same as previous versions but mana pot is not being spammed when ur dead. I got just fken bored to hear that "thong thong - mana potion can not be used due to unsuitable terms".

 

Label(mana)
CharStatus(HP,>,1)  //eat mana only if health is over 1%
{
CharStatus(MP,<,99) //use mp pot if mana is lower that 99%
{
Label(MANA)
USEITEM(Mana Potion[iD=728])
}
}
DELAY(1000)
Call(mana)

Nice script man

GL with others  ;D

that script shouldn't work, it has conditions inside conditions...

 

 

but this will.

Label(mana)
CharStatus(HP,>,1)  //eat mana only if health is over 1%
{
CALL(DEADCHECK)
}
DELAY(1000)
Call(mana)



LABEL(DEADCHECK)
CharStatus(MP,<,99) //use mp pot if mana is lower that 99%
{
USEITEM(Mana Potion[iD=728])
}
RETURN()

You can't use conditions inside another condition ?

i don't think that you can.....

  • Author

that script shouldn't work, it has conditions inside conditions...

Works with IG 1.78. Atleast I dont get the spam when I'm dead and mp ~80%.

 

PS Can it be modded so that I only use it outside of combat?

you could make it check if you have hp...

  • Author

CharStatus(HP,!=,0)

{

 

But how can I check if I'm in combat mode or not?

why would you want it to be outside of combat?

 

and now that I think about it, unless you are at 100% hp 24/7 its impossible.

  • Author

why would you want it to be outside of combat?

Because I only can use them outside combat in this server. Too bad it's not possible :(

Why it doesn't work?I didn't understand what u say mpj and aasi...But i try it and nothing (at ES-L2)

:'(

check for useless spaces at the end of each script line, then run it.

 

also, get your own mana pot ID

just changed the damm 99% :)

 

LABEL(nMANA)

CHARSTATUS(MP,<,70)

{

USEITEM(Mana Potion[iD=728])

}

DELAY(4000)

Call(nMANA)

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.