Timer to send just a carriage return

Posted by Ailsa on Wed 01 Jun 2005 05:47 PM — 6 posts, 25,486 views.

#0
Hello,

I want to send just a carriage return at about a 45 second interval. It will not let me put just a return, and I have tried /r and /cR sent to execute and world, and I cannot seem to get it. Basically I want a non world spamming way to keep my tenuous connection to a mud open. Right now I am doing a command every 45 seconds, but just a simple carriage return sent to the world would be very helpful, if I could figure out how to do it.

Thanks!
USA #1
the times I've needed something like that, I just saved. It doesn't spam people much, and if it spams the log, then the just tell the Imms you have connection issues and that is the best way you could keep your connection open, plus saving alot is never a bad thing
#2
Yeah right now I just send "time" cause that does not spam anybody. But if I just hit return, it does not spam me either, like time does. If I could just get that to send by a timer that would be great, but if not, well, I will just continue to be an obsessive compulsive time checker in my mud.
USA #3
Send "" works.

So, you can do SendTo: script and then world.send an empty string via your favorite language.
#4
Thanks so much Flannel! Send to world "" works perfectly. :)
USA #5
Not send to world, send to: script.
And then in the 'send' box, you have:
send ""
which calls the 'send' script function (which sends a blank line to the server).

But, whatever works.