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
➜ Connecting a new world
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Raj
(2 posts) Bio
|
Date
| Wed 30 Apr 2008 02:48 AM (UTC) |
Message
| I do not know if this is possible, but i wanted to know if there is a way to have a script connect a different world.
I wanted the script to open a new world and connect to it, so i may do what i need. I tried searching for a command for this, but i could not find anything.
Thanks. | Top |
|
Posted by
| Shaun Biggs
USA (644 posts) Bio
|
Date
| Reply #1 on Wed 30 Apr 2008 03:52 PM (UTC) |
Message
| There is the world.Open command. I do not know if there is a way to open a default world or anything, but you can at least set up a dummy mcl file which the script can load, change IP, port, and name as needed, then try connecting to the new mud. If you are using VBscript, then the world.Open command even automatically comes with a reference to this new world that is opened.
http://www.gammon.com.au/scripts/function.php?name=Open
|
It is much easier to fight for one's ideals than to live up to them. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Wed 30 Apr 2008 09:23 PM (UTC) |
Message
| Here is an example of that: http://www.gammon.com.au/forum/?id=4331
Or what you can do in an existing world is script to change the IP address and port, disconnect the existing world and then reconnect to the new one. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Raj
(2 posts) Bio
|
Date
| Reply #3 on Thu 01 May 2008 02:38 AM (UTC) |
Message
| Thanks, that helped a lot. I have another quick question though. Is there a command to close the world? It'll mainly be there to make sure my client isn't cluttered with windows. Thanks again. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #4 on Thu 01 May 2008 06:14 AM (UTC) |
Message
| |
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.
19,283 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top