Register forum user name Search FAQ

Gammon Forum

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.
 Entire forum ➜ MUSHclient ➜ Suggestions ➜ Blank timers

Blank timers

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Thu 17 Jun 2004 12:01 PM (UTC)
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  (23,120 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 17 Jun 2004 10:29 PM (UTC)
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
Date Reply #2 on Fri 18 Jun 2004 12:30 AM (UTC)
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)
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  (23,120 posts)  Bio   Forum Administrator
Date Reply #4 on Fri 18 Jun 2004 02:06 AM (UTC)
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.


13,852 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.