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

Gammon Software Solutions 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

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


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

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

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

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] 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
[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.


1,199 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]