Here's a quick implementation of a command that I know in another client and I was missing on MUSHclient.
The purpose of the command is to enable easier editing of attributes on MU*s.
The usage is:
and what it does is enter in the command window a line of the form:
All you have to do now is to quickly fix whatever it is that needs fixing, and press enter.
For example:
may produce in the command line:
The script can be found at:
www.geocities.com/idoyg/mushclient/
Before the first usage you must type: /SetupGrab() to set up the command.
I have two alternative implementations of this (grab.zip and grab2.zip). One uses @decompile, while the other uses the get function.
Using @decompile usually works better because it can seperate @ and & , but it misses out in some cases, like when a line has newlines already evaled into it. Also, in some cases, the @decompile command won't return an error message when failed and so the !grab will have to wait until timing out.
Send your comments to: idojg@bigfoot.com
Edited by Icarus at: 9/9/00 7:18:04 am
The purpose of the command is to enable easier editing of attributes on MU*s.
The usage is:
!grab object/attribute
and what it does is enter in the command window a line of the form:
&attribute object=current value of attribute
All you have to do now is to quickly fix whatever it is that needs fixing, and press enter.
For example:
!grab me/lockme
may produce in the command line:
&lockme me=$lockme:@lock/uselock me=me;@set me=!enter_OK
The script can be found at:
www.geocities.com/idoyg/mushclient/
Before the first usage you must type: /SetupGrab() to set up the command.
I have two alternative implementations of this (grab.zip and grab2.zip). One uses @decompile, while the other uses the get function.
Using @decompile usually works better because it can seperate @ and & , but it misses out in some cases, like when a line has newlines already evaled into it. Also, in some cases, the @decompile command won't return an error message when failed and so the !grab will have to wait until timing out.
Send your comments to: idojg@bigfoot.com
Edited by Icarus at: 9/9/00 7:18:04 am