Gammon Forum
Entire forum
MUSHclient
General
Trigger help, oh please
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Palvey
(2 posts) bio
|
Date
| Fri 19 Jan 2007 07:51 PM (UTC) |
Message
| Hi I've just downloaded mushclient, best client for linux (using wine) there is!
I'm a former windows user, and zmud user, however wine, zmud and my box dont play nicely together so, off to find this one I went. Here is my problem, making triggers under zmud is very very easy, probably with this client too, but maybe I'm just dumb :(
I'm trying to make a simple autorolling trigger for a line with this form:
Rolled: str [12(0)] int [15] wis [7] dex [13] con [11] cha [15]
to check against each of the values for a specified minimun, and then send: y <return> y<return> <return>
Been plugging at this awhile and getting absolutely nowhere, any help anyone could lend would be greatly appreciated!
Thanks! | top |
|
Posted by
| Palvey
(2 posts) bio
|
Date
| Reply #1 on Fri 19 Jan 2007 09:16 PM (UTC) |
Message
| Ok here is a bit more info, here is a zmud trigger that does what I need, if anyone could tell me how to translate it to work with mushclient it would be great.
#CLASS Autoroller
#VAR Str1 17
#VAR Str2 0
#VAR Int 12
#VAR Wis 14
#VAR Dex 11
#VAR Con 9
#VAR Cha 12
#TR {Rolled: str ~[(%d)~((%d)~)~] int ~[(%d)~] wis ~[(%d)~] dex ~[(%d)~] con ~[(%d)~] cha ~[(%d)~]} {#IF ((%1 >= @Str1) AND (%2 >= Str2) AND (%3 >= @Int) AND (%4 >= @Wis) AND (%5 >= @Dex) AND (%6 >= @Con) AND (%7 >= %Cha)) {Y} {N}}
#CLASS 0
Thanks :)
| top |
|
Posted by
| Tsunami
USA (204 posts) bio
|
Date
| Reply #2 on Sat 20 Jan 2007 03:16 AM (UTC) |
Message
| I believe I recall several old topics on almost exactly the same problem. I'm sure if you search for it something will pop up. | 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.
11,563 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.