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 ➜ MUSHclient ➜ VBscript ➜ World.send

World.send

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


Posted by Hoss   USA  (48 posts)  Bio
Date Sat 30 Oct 2004 01:18 AM (UTC)
Message
Normally if you wanted a script to send something you would use

word.send "Blahblahblah"

But I was wondering if you did:

World.send "harvest"; plant

If it would insert whatever the variable plant was into it so it would send if plant=myrrh "harvest myrrh" any suggestions on how to make this work?

Hoss
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Sat 30 Oct 2004 07:32 AM (UTC)
Message
Is it inside a trigger?
If so, add @ to the front of the variable name, and check the "expand variables" section.
so itd be send "harvest @plant"
if youre not using something that you can expand variables with, you use getvariable.

send "harvest " & getvariable("plant")
(thats in the script space)

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
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,243 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.