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
➜ Lua
➜ Increasing a variable and sending the new variable to the mud.
|
Increasing a variable and sending the new variable to the mud.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Dev
(6 posts) Bio
|
| Date
| Mon 14 Aug 2006 06:35 PM (UTC) |
| Message
| My trigger is this:
^You raise a level\!\! Your gain is\: (.*?)\/(.*?) hp\, (.*?)\/(.*?) m\, (.*?)\/(.*?) mv (.*?)\/(.*?) prac\.$
I have another trigger that checks my level when I do the title command and saves it as the variable @level. I want it to increase the @level variable when I level, and then send "Level @level: %1/%3/%5/%7" to the mud. So far I can get it to work if I just put it in the trigger, but I can't change the @level variable and I have no scripting experience to know how to handle the variables sent to the function. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Tue 15 Aug 2006 01:16 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.
12,353 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top