Trigger help, oh please

Posted by Palvey on Fri 19 Jan 2007 07:51 PM — 3 posts, 16,316 views.

#0
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!
#1
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 :)
USA #2
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.