PDA

View Full Version : Herb production/bundling script help



Reyek
08-21-2003, 06:55 PM
ok so this inst working right any idea how to get a save to be more then 1 word?


# Herb production and bundling
## Will produce herbs gather them then when out of mana bundle them if possible
### Starts with both hands empty
put look
verystart:
Match manawait Mana: 0/
Match manawait Mana: 1/
Match manawait Mana: 2/
Match manawait Mana: 3/
Match manawait Mana: 4/
Match manawait Mana: 5/
Match manawait Mana: 6/
Match manawait mana: 7/
match manawait mana: 8/
match manawait mana: 9/
match manawait mana: 10/
match manawait mana: 11/
match manawait mana: 12/
match manawait mana: 13/
match manawait mana: 14/
match manawait mana: 15/
match manawait mana: 16/
match manawait mana: 17/
match manawait mana: 18/
Match manawait Mana: -
Match herbcast Mana:
put exp
matchwait

herbcast:
match acantha acantha leaf suddenly appears at your feet
match Ambrominas Ambrominas leaf suddenly appears at your feet
match Wolifrew Wolifrew lichen suddenly appears at your feet
match Basal Basal moss suddenly appears at your feet
match Ephlox ephlox moss suddenly appears at your feet
match Aloeas Aloeas stem suddenly appears at your feet
match Pothinir Pothinir grass suddenly appears at your feet
match Cactacae cactacae spine suddenly appears at your feet
match Torban torban leaf suddenly appears at your feet
match Haphip Haphip root suddenly appears at your feet
match Calamia Calamia fruit suddenly appears at your feet
match Woth Woth flower suddenly appears at your feet
match Sovyn Sovyn clove suddenly appears at your feet
put prep 119
waitfor your
put cast
matchwait

acantha:
save "Acantha leaf"
goto bundle

Ambrominas:
save "Ambrominas leaf"
goto bundle

wolifrew:
save "wolifrew lichen"
goto bundle

Basal:
save "Basal moss"
goto bundle

Ephlox:
save "Ephlox moss"
goto bundle

Aloeas:
save "aloeas stem"
goto bundle

Pothinir:
save "Pothinir grass"
goto bundle

Cactacae:
save "Cactacae spine"
goto bundle

Torban:
save "Torban Leaf"
goto bundle

Haphip:
save "Haphip root"
goto bundle

Calamia:
save "Calamia Fruit"
goto bundle

Woth:
save "Woth flower"
goto bundle

Sovyn:
save "Sovyn Clove"
goto bundle

bundle:
pause 1
put get %s
waitfor You pick up
pause 1
put get %s from my %container
match havesome you remove
match none I could not find what you were referring to
matchwait

havesome:
put bundle
match fullbundle If you add anything more to this bundle
match notfull Carefully, you combine all your
matchwait

notfull:
put put some %s in my %container
waitfor you
pause 2
goto verystart

fullbundle:
put put %s in my %level
waitfor you
pause 2
goto verystart

none:
put put %s in %container
pause 4
goto verystart


manawait:
ECHO **********************************
ECHO * NOT ENOUGH MANA! *
ECHO *Press ESC now or the script will*
ECHO *start try again in 1 minute... *
ECHO **********************************
pause 60
goto verystart

[Edited on 8-22-2003 by Reyek]

Drew2
08-21-2003, 08:55 PM
Put it in quotations. "Acantha leaf". That's how you save more than one word. Kthxbye.

Reyek
08-21-2003, 10:10 PM
thanks pal

Reyek
08-22-2003, 03:23 AM
ok this is driving me crazy... if you run this script and it comes to not being able to find a second herb in your %container its supposed to just put the other herb in your %container and go back to casting.... anyone have any idea why it doesnt....

Drew2
08-22-2003, 03:32 AM
Because the none: sub loop doesn't tell it to. It just tells it to start over.

Reyek
08-22-2003, 07:45 AM
the none: is supposed to tell it to start over to make another so that it can try and bundle