Page 1 of 1

Using items

Posted: 07 May 2009, 12:23
by Ageis
I have read the manual and looked for help on the forum and tried most things but i can't get my bot to use pots etc. My config looks like this:
What is wrong here? I know this is some basic shit but i can't figure it out so please help a fellow botter out. :)

Thanks! // Ageis

useSelf_item White Potion, Potato {
hp < 50 %
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives 0
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 1
notInTown 1
timeout 0
disabled 0
inInventory
manualAI 0
}

useSelf_item Awakening Potion {
hp
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction 1
whenStatusActive
whenStatusInactive Awakening Potion
whenFollowing
spirit
aggressives 0
monsters
notMonsters
stopWhenHit 0
inLockOnly 1
notWhileSitting 1
notInTown 1
timeout 1800
disabled 0
inInventory
manualAI 0

Re: Using items

Posted: 07 May 2009, 16:27
by Scarya

Code: Select all

useSelf_item Novice Potion,Red Potion,Orange Potion,Yellow Potion,White Potion,Monster's Feed,Pet Food {
        hp < 40%
}

useSelf_item Awakening Potion {
        whenStatusInactive Awakening Potion
        inLockOnly 1
        notWhileSitting 1
}
Both is working.

EDIT: wrong section btw