Potato - /grab for MUX?


  • Coder

    For the life of me I can't figure out how to make this work on a MUX and its driving me batshit insane.

    Has anyone figured out how to get Potato to use @decompile/dbref instead of @decompile/tf on mux, or maybe just made their own custom /grab or /edit for MUX which did it manually for mux games? I'm sure its gotta be possible and I've looked at the code (eww tcl/tk) but for the life of me I can't quite get it working.


  • Coder

    MUX side, Requires wizard/#1 access to @hook, and is an ugly work around, but:

    1.  @hook/igswitch @decompile
    2.  @create HookDecompile
    3.  @set HookDecompile=inh safe
    4.  &CMD_DEC HookDecompile=$@decompile/* */*:@break [not(match(%0,tf))]=@pemit %#=Unrecognized switch '%0' for command '@decompile'.;@pemit %#=TinyFugue > &%2 [setr(0,locate(%1,%#,*))]=[get(%1/%2)]
    

    As for Potatoe, not used enough to hack, sorry.