Bug - Not A Bug Adding the word "refresh" after a command causes it to fail (even if it shoulnd't)

Winterbay

Active member
Adding the word "refresh" after a command causes it to fail (even if it shoulnd't)

I was trying to figure out which commands "refresh" can take (apart from inv and all which I already knew) so I typed "help refresh" into teh CLI with the following amusing result:
Code:
> help refresh

help cannot be refreshed.

Removing the last h of refresh lets me see the desired help text:
Code:
> help refres

refresh all | status | equip | inv | storage | familiar | stickers - resynchronize with KoL.

However I thought that there might be more information on the Mafia Wiki and so typed "ashwiki refresh" with the same result as above:
Code:
> ashwiki refresh

ashwiki cannot be refreshed.

I'm not sure why refresh takes its command from both after and before, but it leads to some, probably undesirable consequences.
 

lostcalpolydude

Developer
Staff member
The idea is to make it possible to type "inv refresh" to get the same effect as "refresh inv", and so on, without coding the "refresh" case into all other applicable commands.
 
Top