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 ➜ General ➜ Array within an alias

Array within an alias

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


Posted by Xandler   (52 posts)  Bio
Date Fri 15 Jan 2021 11:54 PM (UTC)
Message
I'm trying to re-build all the triggers and the like I lost when my HDD died and I'm struggling with this part. I remember I had an array of sorts within an alias, when that alias would fire it would add 1 to the variable then transport me to the next place. For the life of me I don't remember how to set this up. Right now it is currently just adding 1 to the variable I want, which is correct, I would just like the list of places it should take me to as well.

In short, it will land on Earth which I'll denote as 1, it will request a freelance quest from the questmaster, go back to the transport then transport to let's say Pluto which will be 2, I think this is done within an array, but I've lost the knowledge on how to set it up. I have variables to capture the planet's number and the planet name currently.
Top

Posted by Xandler   (52 posts)  Bio
Date Reply #1 on Sat 16 Jan 2021 01:23 AM (UTC)
Message
Figured it out with if checks.
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.


7,028 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.