Help with script access to clan looking glass

Ethelred

Member
I found the mafia daily variable _lookingGlass which indicates whether or not a "DRINK ME" potion has been summoned today. However, I can't find a CLI command or an ASH function to summon the "DRINK ME" potion. Do I have to perform that via a visit_url() call? I have a multi who is overnighting in a clan without a looking glass, so the daily deed setup I have doesn't get the "DRINK ME" potion. I'd like to pick it up in the clan hopping script I'm using. Thanks for any help or references you can supply.
 

lostcalpolydude

Developer
Staff member
It looks like visit_url() is the only direct way to do it. Another option is to cli_execute( "breakfast" ), if it's included in there.
 
Top