Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Poromenos
Greece (1,037 posts) bio
|
| Date |
Thu 17 Jun 2004 12:01 PM (UTC) [ quote
] |
| Message |
| I wanted to make a timer to send a newline to the mud (to refresh the prompt) and it tells me that the timer cannot be blank. Anyway to allow newlines to be sent without bothering to script? |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #1 on Thu 17 Jun 2004 10:29 PM (UTC) [ quote
] |
| Message |
Well, the script is pretty short:
<timers>
<timer enabled="y" second="2" send_to="12" >
<send>Send ""</send>
</timer>
</timers>
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
David Haley
USA (3,881 posts) bio
Moderator |
| Date |
Reply #2 on Fri 18 Jun 2004 12:30 AM (UTC) [ quote
] |
| Message |
| Could you not send just a space and achieve the same effect? |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|
| Posted by |
Poromenos
Greece (1,037 posts) bio
|
| Date |
Reply #3 on Fri 18 Jun 2004 01:27 AM (UTC) [ quote
] |
| Message |
| I could, it's not that big of a problem, I'm just saying that why should MUclient stop me from doing something that's perfectly legal... |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #4 on Fri 18 Jun 2004 02:06 AM (UTC) [ quote
] |
| Message |
It is smart enough, if you will pardon the expression, to not allow you to enter that.
What you can do is this:
<timers>
<timer enabled="y" second="2" send_to="0" >
<send>
</send>
</timer>
</timers>
This pastes in a timer with a newline in it. Since it doesn't go through the GUI timer validation it lets you have a blank send box. |
- 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.
1,199 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )