Blank timers

Posted by Poromenos on Thu 17 Jun 2004 12:01 PM — 5 posts, 19,254 views.

Greece #0
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?
Australia Forum Administrator #1
Well, the script is pretty short:


<timers>
  <timer enabled="y" second="2" send_to="12" >   
   <send>Send ""</send>
  </timer>
</timers>

USA #2
Could you not send just a space and achieve the same effect?
Greece #3
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...
Australia Forum Administrator #4
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.