[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  Blank timers
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Blank timers

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


Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Nick Gammon   Australia  (21,609 posts)  [Biography] 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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Nick Gammon   Australia  (21,609 posts)  [Biography] 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
[Go to top] 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.


2,966 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]