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, 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.
 Entire forum ➜ MUSHclient ➜ Miniwindows ➜ Just wondering

Just wondering

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


Posted by Leonhardt   (24 posts)  Bio
Date Tue 23 Nov 2010 11:04 PM (UTC)
Message
I was just curious is it possible to make a script that can do IN-GAME commands immediatly like kick or flee?
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #1 on Wed 24 Nov 2010 12:05 AM (UTC)
Message
Of course.

world.Send("kick")

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #2 on Wed 24 Nov 2010 12:08 AM (UTC)
Message
Fiendish said:

Of course.

world.Send("kick")


Though if you're using Lua (and, indeed, probably some of the others), you can leave off the "world.".

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 24 Nov 2010 12:26 AM (UTC)
Message
And since you posted in the Miniwindows part of the forum:

Template:post=9280 Please see the forum thread: http://gammon.com.au/forum/?id=9280.


That shows how you can make buttons that, when clicked, send stuff.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Leonhardt   (24 posts)  Bio
Date Reply #4 on Wed 24 Nov 2010 04:59 AM (UTC)
Message
Ok that plugin is cool as hell but what im looking for is a way to get rid of the insane time it takes between kicks.Like is there a way I can make a script to bypass the wait. Some of the skills on this mud take AGES to refresh so you can use it again like trip for example.
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #5 on Wed 24 Nov 2010 05:29 AM (UTC)
Message
A script that lets you kick more quickly than the server normally allows you to? No, that's not possible. Remember that MUSHclient scripting only affects things on your computer, and the only way to talk to the MUD is to send things via the network. Whenever something is sent to the server, the MUD has the final say on what you can and cannot do.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Leonhardt   (24 posts)  Bio
Date Reply #6 on Wed 24 Nov 2010 05:55 AM (UTC)
Message
Dang ok thanks all much appreciated and atleast I found a cool new plugin to play with :)
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.


22,358 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.