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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Perform skill/editor

Perform skill/editor

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


Posted by BrigandKing   (23 posts)  Bio
Date Wed 14 May 2008 07:33 PM (UTC)
Message
I've played a quite few RP only muds and always enjoyed the Bard, Skald, Minstrel. But sometimes the charater limits on the buffer can be a hindrance as you type an emote or say something, then go to the next stanza then go to the next one if you understand what i mean. So there was always a pause. Sometimes a long one if they didn't hotkey or script their performance.

Anyways the question, is there a way that an editor can be opened and they enter all their text and when they close it it's performed. Yes this can be done with front ends but not everyone can write scripts and triggers.


Any idea on how to go about this? Maybe something already in the code that can be used as a template/guide on how to do it.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 14 May 2008 09:24 PM (UTC)
Message
Yes it could be done. I would use something like the editor in SMAUG. (See "help editor"). Something similar to writing a note would do it.

I would point out however that it can be done in the client without any scripting or lengthy mucking around. Using MUSHclient, for example, you could compose your poem or whatever you want to say in an independent editor (eg. Notepad, Wordpad, Crimson Editor), or the inbuilt notepad editor (built into the client).

While you are writing your message you could check back periodically to see if there are any messages to you that you need to respond to.

Once you are done, copy the message to the clipboard, and then in MUSHclient go to Edit menu -> Paste to world. This lets the entire clipboard get sent to the world, a line at a time. In order for the message to be "said" you would put a quote (or the word "say" followed by a space) in the box which says "Send this at the start of each line".

You might also put a delay (say 100 milliseconds, which is a tenth of a second, or more) between each line, to make it look more natural, rather than a scripted message.

Then when you hit OK the whole message is delivered without lengthy pauses.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by BrigandKing   (23 posts)  Bio
Date Reply #2 on Wed 14 May 2008 10:01 PM (UTC)
Message
Oh, well thanks for the info on the flexibility of the MUSHclient, for the longest time I only used Zmud. But only started using mush because I was sure not going to pay more money to be able to play muds on my laptop which has vista.

If it's too much of a chore I'll just tell everyone the client of choice is yours ;)
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Thu 15 May 2008 06:01 PM (UTC)
Message
IMHO MUSHclient is a superior client to begin with; the fact that it is free now is only icing on the cake. :-)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
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.


15,352 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.