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
➜ Trigger Question
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Szereck
(5 posts) Bio
|
| Date
| Thu 12 Jun 2003 12:57 AM (UTC) |
| Message
| Is there a way to setup a triger that would popup a query window? What I'd like to do is when my transport ship arives I'd like to 'enter ship' and then have a popup window ask where I want to go. Then whatever I typed as my destination the trigger would 'engage to <destination>'
Any way of doing this?
TIA,
Szereck | | Top |
|
| Posted by
| Shadowfyr
USA (1,792 posts) Bio
|
| Date
| Reply #1 on Thu 12 Jun 2003 04:01 AM (UTC) |
| Message
| If you are using VBScript you can use:
Dest = InputBox("What is your destination?","Destination Selection")
This and the MsgBox commands are built into VBScript. ;)
InputBox takes: InputBox (a, b, c, x, y, f, g) where:
a = Text to display.
b = Title of window.
c = Default value
x, y = Position from top left of desktop to place the window. This is in twips (don't ask), not pixels. If left off it centers the window.
f = Help file for your window.
g = Item in help file for your input window.
For the Msgbox, you may want to download the help files for Windows scripting (you can find the link to it under Plugins on the main forum page). These are primitive, but for what you want the InputBox should work. ;) | | 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.
11,101 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top