PDA

View Full Version : Code for various areas



StoreKeeper
10-21-2010, 05:58 PM
I'm trying to improve my breakfast script with the following items:

Visit the Friars to get a blessing.
Visit the arena to get a buff.
Visit the clan snack machine to get snacks.

I have figured out the code for determining which snack/blessing/buff to get. I just don't know how to have the script go get them.

Any help, please?

Camber
10-21-2010, 06:59 PM
Here are the first 2:

ASH:


if (contains_text(visit_url("questlog.php?which=2"),"cleansed the taint"))
visit_url("friars.php?action=buffs&bro=2&pwd=");
/*
--- F R I A R B L E S S I N G ---
bro=1 : Brother Flying Burrito (+food drops)
bro=2 : Brother Corsican (+fam. exp)
bro=3 : Brother Smothers (+booze drops)
*/



This will get Winklered if you completed the arena as a fratboy:



if (get_property("sidequestArenaCompleted") == "fratboy") cli_execute("concert 2");


Other options for 'concert'

> help concert
concert m[oon'd] | d[ilated pupils] | o[ptimist primal] | e[lvish] | wi[nklered] | wh[ite-boy angst]

Veracity
10-21-2010, 07:10 PM
friars food
friars booze
friars familiar

No need to use "visit_url" for those.

StoreKeeper
10-21-2010, 08:26 PM
Thanks for the Friar and concert code. I appreciate your help.

Any idea on the clan snack machine?

Bale
10-21-2010, 11:04 PM
The help command is good.


> help snack

chips type [,type [,type]] - buy chips from your clan's snack machine