Copy this whole thing, then paste it in your triggers page (copy it, have it on your clipboard, then go to triggers, and click paste). It should work, some of the syntax might be a little off, let me know. Also, as they match, the triggers will change the text color to brown on black, if this doesnt happen, let me know.
(Nick, change the title of this thread? for archive purposes, or something?)
<triggers>
<trigger
custom_colour="10"
enabled="y"
match="^Charisma: (\d+) \(.*\) $"
regexp="y"
send_to="9"
sequence="100"
variable="RollCha"
>
<send>%1</send>
</trigger>
<trigger
custom_colour="10"
enabled="y"
match="^Constitution: (\d+) \(.*\) $"
regexp="y"
send_to="9"
sequence="100"
variable="RollCon"
>
<send>%1</send>
</trigger>
<trigger
custom_colour="10"
enabled="y"
match="^Dexterity: (\d+) \(.*\) $"
regexp="y"
send_to="9"
sequence="100"
variable="RollDex"
>
<send>%1</send>
</trigger>
<trigger
custom_colour="10"
enabled="y"
match="^Intelligence: (\d+) \(.*\) $"
regexp="y"
send_to="9"
sequence="100"
variable="RollInt"
>
<send>%1</send>
</trigger>
<trigger
custom_colour="10"
enabled="y"
match="^Keep\? \(Y\/N\) $"
regexp="y"
send_to="12"
sequence="100"
>
<send>dim add, check
add = "N"
If (Cint(Getvariable("RollStr"))+Cint(Getvariable("RollDex"))+Cint(Getvariable("RollCon"))+Cint(Getvariable("RollInt"))+Cint(Getvariable("RollWis"))+Cint(Getvariable("RollCha"))+Cint(Getvariable("RollLck"))) >= 110 Then
add = "Y"
end if
check = "Y"
If Cint(Getvariable("RollStr") < 14 then
check = "N"
end if
If Cint(Getvariable("RollDex") < 14 then
check = "N"
end if
If Cint(Getvariable("RollCon") < 14 then
check = "N"
end if
If Cint(Getvariable("RollInt") < 14 then
check = "N"
end if
If Cint(Getvariable("RollWis") < 14 then
check = "N"
end if
If Cint(Getvariable("RollCha") < 14 then
check = "N"
end if
If Cint(Getvariable("RollLck") < 14 then
check = "N"
end if
If check == "N" OR add == "N" then
world.send "N"
else
world.send "Y"
end if</send>
</trigger>
<trigger
custom_colour="10"
enabled="y"
match="^Luck: (\d+) \(.*\) $"
regexp="y"
send_to="9"
sequence="100"
variable="RollLck"
>
<send>%1</send>
</trigger>
<trigger
custom_colour="10"
enabled="y"
match="^Strength: (\d+) \(.*\) $"
regexp="y"
send_to="9"
sequence="100"
variable="RollStr"
>
<send>%1</send>
</trigger>
<trigger
custom_colour="10"
enabled="y"
match="^Wisdom: (\d+) \(.*\) $"
regexp="y"
send_to="9"
sequence="100"
variable="RollWis"
>
<send>%1</send>
</trigger>
</triggers>
|