I've found a couple rollers in the forums thus far but they all seem based around get a specific score in a specific stat. What I am looking for is basically a script to look for a certain number of specified stats. So insted of looking for a perfect con and might int I want to look for 4 mightys and 4 goods or below that way I can tailor how I choose and this way the roller doesnt pass by the good rolls just because one of the stats is in the wrong place.
Cheers
Jesus saves and takes half damage
Need help on a roller
-
- Sojourner
- Posts: 4
- Joined: Mon Sep 12, 2005 1:42 pm
This works for me
Code: Select all
#CLASS {roller}
#TRIGGER {Rerolling this character.} {#t+ roll1;#t+ roll2}
#CLASS 0
#CLASS {roller|roll2}
#TRIGGER {^To swap stats:} {#if (@myvar < 4) {#echo @myvar;y;myvar=0;#t- roll2} {#beep;myvar=0}}
#CLASS 0
#CLASS {roller|roll1}
#TRIGGER {(%w):(%s){heroic|perfect|mighty}} {#add myvar 1}
#CLASS 0
-
- Sojourner
- Posts: 4
- Joined: Mon Sep 12, 2005 1:42 pm
Vikaz wrote:This works for meCode: Select all
#CLASS {roller}
#TRIGGER {Rerolling this character.} {#t+ roll1;#t+ roll2}
#CLASS 0
#CLASS {roller|roll2}
#TRIGGER {^To swap stats:} {#if (@myvar < 4) {#echo @myvar;y;myvar=0;#t- roll2} {#beep;myvar=0}}
#CLASS 0
#CLASS {roller|roll1}
#TRIGGER {(%w):(%s){heroic|perfect|mighty}} {#add myvar 1}
#CLASS 0
I think I see how this one is supposed to work but Im not positive....how do I implement this one into zmud and run?
Copy it into a .txt file, import the .txt file as ASCII.
Support Your Addiction! Vote for TorilMUD Today!
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Collage degree
[quote="lorekeeper"][/quote]
You know - this was acctually a part of my collage degree believe it or not... B: 8)
You know - this was acctually a part of my collage degree believe it or not... B: 8)
Delete this wank's account.
Support Your Addiction! Vote for TorilMUD Today!
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Here's a simple autoroller for wintin, it just looks for close to 4 perfects, or enough of the smaller ones to hit the score, it also stops at each new high and asks if you want to keep it.
Code: Select all
#defgroup {}
#action {Rerolling} {#enable Autoroll}
#defgroup {}
#defgroup {Autoroll}
#action {Agility: %1 W} {test %1} {G|Autoroll}
#action {Charisma: %1} {test %1} {G|Autoroll}
#action {Constitution: %1 C} {test %1} {G|Autoroll}
#action {Dexterity: %1 I} {test %1} {G|Autoroll}
#action {Intelligence: %1} {test %1} {G|Autoroll}
#action {Power: %1} {test %1} {G|Autoroll}
#action {Strength: %1 P} {test %1} {G|Autoroll}
#action {Wisdom: %1} {test %1} {G|Autoroll}
#action {swap:} {#if {$highscore < $hits} {#var highscore $hits;#showme Hits: $hits New High Score!;resethits;#disable Autoroll} else {#showme Hits:$hits Highscore $highscore;#if {$hits < 14} {resethits;y} else {resethits;#show Keep?;#bell;#disable Autoroll}}} {G|Autoroll}
#alias {resethits} {#var hits 0} {G|Autoroll}
#alias {test} {#ifmatch {$good} {%0} {#math hits {$hits+1}};#ifmatch {$mighty} {%0} {#math hits {$hits+2}};#ifmatch {$heroic} {%0} {#math hits {$hits+3}};#ifmatch {$perfect} {%0} {#math hits {$hits+4}}} {G|Autoroll}
#variable {hits} {0} {G|Autoroll}
#defgroup {}
#defgroup {}
#variable {good} {good}
#variable {heroic} {heroic}
#variable {highscore} {0}
#variable {mighty} {mighty}
#variable {perfect} {perfect}
#log
#debug off
#tinsep {;}
#swdelay {0}
#speedwalk on
#message off
#ignore off
#togglesubs off
#presub off
#tinchar #
As long as we live in this world we are bound to encounter problems. If, at such times, we lose hope and become discouraged, we diminish our ability to face difficulties. If, on the other hand, we remember that it is not just ourselves but everyone who has to undergo suffering, this more realistic perspective will increase our determination and capacity to overcome troubles.
-- The Dali Lama
Who is online
Users browsing this forum: No registered users and 19 guests