Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Tips and tricks
➜ Decompile to command window
Decompile to command window
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Krenath
USA (76 posts) Bio
|
Date
| Tue 04 Mar 2003 05:25 PM (UTC) |
Message
| There is a commmon MUSHclient tip which suggests the following for easily editing code on objects:
make an alias for ex */* which sends "@dec/tf */*"
write a trigger which looks for FugueEdit > * and omits matching likes from the output and sends %1 to the command window.
That's great and all, but it doesn't allow for editing multiple lines of code at once What if I typed ex #2/*? The old trigger would hold only one attribute's code at a time, replacing each attribute with the next one that matches the trigger.
Here's a script you can point your trigger at which will *append* to the command window instead, allowing you to examine multiple attributes using wildcards and have them all copied into the command window at once:
Sub onDecompile(a,b,c)
Dim oldCommand,newCommand
oldCommand = world.GetCommand
newCommand = c(1)
If trim(oldCommand) <> "" Then
World.PushCommand
World.SetCommand oldCommand & vbcrlf & newCommand
else
World.SetCommand newCommand
end if
End Sub
Set your FugueEdit > * trigger to simply omit from output and call the above script. Don't bother having it send anything to the command window as the script handles that.
Now find an object and type ex object/*
|
- Krenath from
bDv TrekMUSH
ATS TrekMUSH
TNG TrekMUSE
TOS TrekMUSE | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
7,905 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top