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
➜ VBscript
➜ Replacements
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Bromik
(1 post) Bio
|
| Date
| Sun 31 Jul 2005 08:12 PM (UTC) |
| Message
| I am absolutely new to programming as a whole and having no luck with it so far.
Lets say I would like 'You have recovered balance.' to be replaced with 'BALANCE RECOVERED' in bold white letters. All I know is to send it to myself and not the world.
Thanks in advance. | | Top |
|
| Posted by
| Deqitosv
USA (26 posts) Bio
|
| Date
| Reply #1 on Mon 01 Aug 2005 08:50 PM (UTC) Amended on Mon 19 Mar 2007 06:11 AM (UTC) by Deqitosv
|
| Message
| A fairly simple trigger for this could be used, rather than scripting.
In the edit trigger box (after clicking add in the configuration screen for triggers)
Trigger: You have recovered balance.
Send: BALANCE RECOVERED
Check 'Enabled', and 'Omit from output'
Use the drop down to change the colour and style to Bold White.
Change the 'Send to:' drop down to 'Output'
Then click on OK.
Should do it for you. (There are also scripting methods, but this is one of the quicker, easier ways).
|
Deqitosv
MushClient Plugins for LegendMUD:
http://www.itgotdeleted.com/ (currently offline)
Experiments in Film:
http://www.cookiejarfilms.com/
15, a Parody of 24:
http://www.pkill.org
| | Top |
|
| Posted by
| Deqitosv
USA (26 posts) Bio
|
| Date
| Reply #2 on Mon 01 Aug 2005 08:55 PM (UTC) Amended on Mon 01 Aug 2005 08:56 PM (UTC) by Deqitosv
|
| Message
| But if you demand that it be done in vbscript, you could run something like this (though I don't see why you'd put in the extra effort):
Edit your script file to have this in it:
sub balance(trigger,sent_line,wildcards)
world.colournote "#FFFFFF", "", "BALANCE RECOVERED"
end sub
Save the script then, in the edit trigger box (after clicking add in the configuration screen for triggers)
Trigger: You have recovered balance.
Leave Send blank.
Check 'Enabled', and 'Omit from output'
put the word "balance" in script.
Click OK.
|
Deqitosv
MushClient Plugins for LegendMUD:
http://www.itgotdeleted.com/ (currently offline)
Experiments in Film:
http://www.cookiejarfilms.com/
15, a Parody of 24:
http://www.pkill.org
| | 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.
13,677 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top