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
➜ Multi-Line Auto Roller
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #15 on Wed 26 Jan 2005 01:27 AM (UTC) |
Message
| You are already doing ColourNote, that displays it. You could use straight Note to save specifying colours. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Verdammt
(4 posts) Bio
|
Date
| Reply #16 on Tue 01 Feb 2005 12:06 PM (UTC) Amended on Tue 01 Feb 2005 12:12 PM (UTC) by Verdammt
|
Message
| no, what I meant was, what would I do to call up the total value?
Edit: bah, I still can't get it to fire... if you think you can give me a hand nick, I'd appreciate it a lot.
The IP and Port are dark-legacy.com//9898
and here's what I have as a trigger.
<triggers>
<trigger
enabled="y"
lines_to_match="7"
match="^\s*Strength:\s*(?P<str>\d+)\s*(?P<avstr>\d+)\n\s*Dexterity:\s*(?P<dex>\d+)\s*(?P<avdex>\d+)\nConstitution:\s*(?P<con>\d+)\s*(?P<avcon>\d+)\nIntelligence\:\s*(?P<int>\d+)\s*(?P<avint>\d+)\n\s*Wisdom\:\s*(?P<wis>\d+)\s*(?P<avwis>\d+)\n\s*Charisma\:\s*(?P<cha>\d+)\s*(?P<avcha>\d+)\n\s*Luck\:\s*(?P<lck>\d+)\s*(?P<avlck>\d+)"
multi_line="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>
total = %<str> + %<int> + %<dex> + %<con> + %<cha> + %<lck>
if %<str> < 13 or _
%<int> < 15 or _
%<wis> < 15 or _
%<dex> < 15 or _
%<con> < 15 or _
%<cha> < 5 or _
%<lck> < 10 and
total < 107 then
ColourNote "white", "blue", "stats too low"
world.doafter 1, "N"
else
ColourNote "white", "red", "accepted stats"
world.doafter 1, "Y"
end if
</send>
</trigger>
</triggers>
| Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #17 on Sat 05 Feb 2005 11:08 PM (UTC) |
Message
| Can you paste an example of what it sends that you are trying to match on? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Verdammt
(4 posts) Bio
|
Date
| Reply #18 on Sun 13 Mar 2005 06:31 PM (UTC) |
Message
| I had already done so in a previous topic, but here it is again:
You may now roll for your character's stats.
You may roll as often as you like.
Strength: 10 (Average)
Dexterity: 22 (Extremely nimble)
Constitution: 11 (Average)
Intelligence: 16 (Very smart)
Wisdom: 11 (Average)
Charisma: 21 (Exquisite)
Luck: 11 (Average)
Keep? (Y/N)
Strength: 10 (Average)
Dexterity: 18 (Very nimble)
Constitution: 12 (Average)
Intelligence: 11 (Average)
Wisdom: 16 (Wise)
Charisma: 19 (Attractive)
Luck: 15 (Lucky)
Keep? (Y/N)
Strength: 13 (Hardy)
Dexterity: 19 (Very nimble)
Constitution: 10 (Average)
Intelligence: 12 (Average)
Wisdom: 12 (Average)
Charisma: 19 (Attractive)
Luck: 17 (Very lucky)
Keep? (Y/N) | 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.
52,109 views.
This is page 2, subject is 2 pages long:
1
2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top