Openkore.com

OpenKore Forums
It is currently 18 Apr 2014, 16:50

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Using items
PostPosted: 07 May 2009, 12:23 
Offline
Noob
Noob
User avatar

Joined: 04 May 2009, 16:11
Posts: 11
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


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 07 May 2009, 16:27 
Offline
Moderators
Moderators
User avatar

Joined: 26 May 2008, 12:25
Posts: 137
Code:
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

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots.
So far, the universe is winning.

Richard Cook

Wiki


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[ Time : 0.071s | 16 Queries | GZIP : On ]