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
➜ Table help
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Lotness
Australia (2 posts) Bio
|
| Date
| Sun 08 Apr 2012 12:32 PM (UTC) |
| Message
| Heyas there,
I play an lpmud and I have NO scripting experience in mushclient. I have managed to set up basic aliases and triggers so at least i've gotten that far.
What I'd like to do is have a table that I can add a list of mobs to that react to a certain power I have and then whenever I see that mob name have it highlighted somehow in a coloured text.
For example, say I see a cabbage, kill it and discover that I can use my power with it, then I can type in 'addmob cabbage' and it would add cabbage to the table.
Then every time I enter a room with the word cabbage (which is hopefully just the mob) then I will see it highlighted somehow (like white text on a green background or something).
If I could have an example of this it'd really help me to understand tables and how they work in mushclient.
I'd love to have a removemob command too so I can remove an entry if needed.
Sorry to be asking in here, I hope it's the right place. :D
-Lotness- |
-= Lotness =-
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Mon 09 Apr 2012 06:51 AM (UTC) |
| Message
| | What you want sounds similar to a "friends list" plugin we had a while back. Basically you have a table of words you are interested in, and an alias to add/remove items from it. Then you set up a trigger to match this word and highlight it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Lotness
Australia (2 posts) Bio
|
| Date
| Reply #2 on Mon 09 Apr 2012 07:16 AM (UTC) |
| Message
| Yes! that sounds precisely like the right thing. I'll try find it in the forum :D
Thanks for getting back to me! |
-= Lotness =-
| | 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.
11,769 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top