Difference between pages "Talk:Daily special" and "Talk:Eatsilent"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>StDoodle
 
imported>Heeheehee
(Regarding the return value...)
 
Line 1: Line 1:
Regarding the RFI:
+
When not logged in:
: > brewery <br/>
+
:> ash eatsilent(1,$item[knob mushroom])
:: Since you are not in a Moxie sign, you may not visit the brewery.<br/>
+
::Since you are not in a Mysticality sign, you may not visit the restaurant.
: > microbrewery<br/>
+
::You need 1 more Knob mushroom to continue.
:: Since you are not in a Moxie sign, you may not visit the brewery.<br/>
+
::Returned: false
: > omgbrewerywtf<br/>
+
This suggests that the function does, in fact, take into account whether the item is eaten or not.
:: Since you are not in a Moxie sign, you may not visit the brewery.<br/>
 
: > iWantToVisitTheBreweryAndGetDrunk<br/>
 
:: Since you are not in a Moxie sign, you may not visit the brewery.<br/>
 
 
 
Huh. I can see the reasoning behind the asterisk padding in the front (see the second input), but... why the one in the back? And why make it use wildcard matching? --[[User:Heeheehee|Heeheehee]] 02:06, 11 April 2010 (UTC)
 
 
 
 
 
That's actually kind of funny. I had no idea cli functions could take wildcards like that; just didn't occur to me. Learn something new every day!
 
 
 
--[[User:StDoodle|StDoodle (#1059825)]] 02:56, 11 April 2010 (UTC)
 

Revision as of 02:09, 11 April 2010

When not logged in:

> ash eatsilent(1,$item[knob mushroom])
Since you are not in a Mysticality sign, you may not visit the restaurant.
You need 1 more Knob mushroom to continue.
Returned: false

This suggests that the function does, in fact, take into account whether the item is eaten or not.