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
➜ How to self test trigger?
|
How to self test trigger?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Tkl1129
Hong Kong (43 posts) Bio
|
| Date
| Wed 06 Jul 2011 02:07 AM (UTC) |
| Message
| Hi, I'm newbie in mush, acutally I'm using zmud before and now trying to switch to mush.
There was many many difficulties as I'm know nothing about programming just knoe zscript only. I'm trying to learn LUA and setting up basic functions for my mud games in Chinese.
There were few questions I meet, please kindly help :)
1. After a trigger made, how to test it offline/myself without the real pattern from mud?
- in zmud, if the pattern is "Hello *", I can use a function call #sh Hello xxx, or #say Hello xx to fire the trigger, but here I use /print or /Note also cannot fire it, what can I do when I want to do some self test on trigger?
2. I have a ">" symbol at the start of every line, before no this ">" in zmud, how can I disable it?
Thanks a lot~ | | Top |
|
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Reply #1 on Wed 06 Jul 2011 02:20 AM (UTC) |
| Message
|
Quote: After a trigger made, how to test it offline/myself without the real pattern from mud?
You can test your trigger patterns with Game->Test Trigger... (or press Shift+Ctrl+F12)
Don't forget to force a line break at the end of your test pattern with Ctrl+Enter.
Quote: I have a ">" symbol at the start of every line I don't know about this one. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Tkl1129
Hong Kong (43 posts) Bio
|
| Date
| Reply #2 on Wed 06 Jul 2011 02:37 AM (UTC) |
| Message
| One more question, can I edit and testing offline?
when I type something on command line, he keep on asking me to connect to thw world...-_-!
Since my place have firewall blocked, I only can edit and use it at home, so all trigger edit, function test wanna be done offline :), please advice, thanks. | | Top |
|
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Reply #3 on Wed 06 Jul 2011 02:46 AM (UTC) |
| Message
|
Tkl1129 said: One more question, can I edit and testing offline?
Yes. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #4 on Wed 06 Jul 2011 07:50 AM (UTC) |
| Message
| If you set the IP address to 0.0.0.0 it won't try to connect.
Then you can test triggers using the method Fiendish mentioned or you can use the Simulate function.
|
- 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.
21,455 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top