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
➜ MUSHclient
➜ General
➜ Completely Ignorant about Scripting
|
Completely Ignorant about Scripting
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Confused01
(2 posts) Bio
|
| Date
| Thu 08 Apr 2004 03:12 AM (UTC) Amended on Thu 08 Apr 2004 03:24 AM (UTC) by Confused01
|
| Message
| I'm attempting to make it so that certain commands/alias are entered in with 3 second intevals between each one.
Basically, I want to type one command (alias), and have this whole 29-line emoted thing come out, with three seconds inbetween each emote.
Unfortunately, I'm completely clueless; despite having read through a ridiculous amount of help files and posts.
I guess I understand that there needs to be a scripting program that includes the alias's for each thing.
So, From what I gathered, there needs to be something like this:
world.send "alias 1"
world.doafter 3, "alias 2"
world.doafter 6, "alias 3"
Somewhere in a notepad file somewhere.
? But I have no idea where to put it, how to group the alias together, and what screen to put it in.
I'm sorry for being so ignorant.
But I'm in desparate need of help! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 08 Apr 2004 08:11 AM (UTC) |
| Message
| You are on the right track. Make a single alias, and in the "send" area put your DoAfter commands (click on the "..." button to open a larger window to enter them).
eg.
send "line 1 of what you want to say"
doafter 3, "line 2 ..."
doafter 6, "line 3 ..."
... and so on.
Then select the combo box "send to script" to have the whole thing treated as a script command, and not sent directly to your world.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Confused01
(2 posts) Bio
|
| Date
| Reply #2 on Thu 08 Apr 2004 08:45 AM (UTC) |
| Message
| That worked perfectly!
Thank you so much for taking the time to answer -and- for explaining it so that I could understand it. | | 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.
12,199 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top