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
➜ General
➜ New to mush, my questions
New to mush, my questions
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Bobb
(3 posts) Bio
|
Date
| Sun 08 Nov 2009 01:37 PM (UTC) |
Message
| Just a quick one to start off,
how is it i can change a variable's content from the command line?
cheers | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 08 Nov 2009 06:32 PM (UTC) Amended on Tue 26 Nov 2013 03:40 AM (UTC) by Nick Gammon
|
Message
| See the "Getting Started" part of the forum.
For that particular question, there is even a video showing the way you can do that:
Or, just a forum post about targetting aliases:
The targetting alias video / post shows you you change a variable (the target) by typing in an alias.
There is a more general way, see:
You can execute any script function from the command line once you set up a "scripting prefix" in the Script configuration. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Bobb
(3 posts) Bio
|
Date
| Reply #2 on Tue 10 Nov 2009 02:08 PM (UTC) |
Message
| thank you nick gammon
could you tell me (or direct me to)how i can get the target to be highlighted? | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #3 on Tue 10 Nov 2009 07:17 PM (UTC) |
Message
| You can use a trigger that highlights that target word by using @target (if that is what you called it) and checking "expand variables", like this:
<triggers>
<trigger
custom_colour="17"
enabled="y"
expand_variables="y"
keep_evaluating="y"
match="@target"
regexp="y"
repeat="y"
sequence="100"
other_back_colour="yellow"
>
</trigger>
</triggers>
 |
For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.
|
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Bobb
(3 posts) Bio
|
Date
| Reply #4 on Wed 11 Nov 2009 04:33 PM (UTC) |
Message
| um what could be causing my MUSHcliet to keep freezing?
i thought i could be a plugin but i removed them all and it still does it | Top |
|
Posted by
| Blainer
(191 posts) Bio
|
Date
| Reply #5 on Wed 11 Nov 2009 09:40 PM (UTC) |
Message
|
 |
Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.
|
At what point does it freeze? Does it freeze when you open a world?
What operating system are you using? | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #6 on Wed 11 Nov 2009 09:40 PM (UTC) Amended on Wed 11 Nov 2009 09:41 PM (UTC) by Twisol
|
Message
| Under what circumstances does it freeze? On connect, sending a command, etc, or is it irregular? What operating system do you use, and what version thereof? What MUSHclient version?
All of these questions can potentially help solve the problem. It's always better to give more details from the start. :)
EDIT: Ninja'd by Blainer. Nice! |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #7 on Thu 12 Nov 2009 01:31 AM (UTC) |
Message
| I think some versions would freeze if you did "repeat on same line" with an empty match string. My trigger I suggested might do that, if the @target was empty.
That was fixed in version 4.41 onwards.
Version 4.43 can be downloaded now, see:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
24,782 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top