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 ➜ Plugins ➜ Using triggers and variables

Using triggers and variables

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


Posted by Warsage   (1 post)  Bio
Date Sat 16 Jan 2010 12:00 PM (UTC)
Message
Greetings,

I'm fairly new to MUSHclient and am having some issues trying to setup a trigger/script/plugin/variables, etc. While I do have a fairly firm grasp on how to use simple triggers and aliases that is basically the extent of my knowledge with the client. I'm trying to design a script that will allow my character to check their stats after attaining a certain level. If the character is happy with the stats they rolled upon gaining that level they will continue to press forward. If the stats are less than to be desired they'll enter a command and start over. For example:

I just leveled this character to five and they rolled these stats:

Your base abilities are: Str:15 Int:7 Wil:9 Dex:19 Con:17.

My character likes the Dex but is unsatisfied with the strength and constitution. So, my character would enter restat and start the process over again. If my character would of rolled something like this:

Your base abilities are: Str:18 Int:7 Wil:9 Dex:19 Con:18.

I'd want to keep these stats and stop. Anyway, I was hoping someone would be able to point me in the right direction. Thanks for the help and wonderful client!

- ws
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 16 Jan 2010 11:30 PM (UTC)
Message
Template:faq=18 Please read the MUSHclient FAQ - point 18.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


14,124 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.