Rolling scripts
- Stolichnaya
- Posts: 25
- Joined: Sat Feb 08, 2014 1:20 pm
- Location: San Antonio TX
Rolling scripts
If you have a script or plugin that you use for rerolling, please share?
Syldir Stolichnaya Drasta Rey Damirobol
Penrell Garrona Urnnd Gauron Terret
Trexo Rhodrarak Denaka
And the bots Garron Lama Ketelone
[url=mailto://stolichnaya@efeldt.com]stolichnaya@efeldt.com[/url]
- Stolichnaya
- Posts: 25
- Joined: Sat Feb 08, 2014 1:20 pm
- Location: San Antonio TX
Re: Rolling scripts
This is my modified version of Tokai's reroll class (available at http://tokai.ws/triggers/reroll.txt)
- Attachments
-
- reroll.zip
- (1.33 KiB) Downloaded 909 times
Syldir Stolichnaya Drasta Rey Damirobol
Penrell Garrona Urnnd Gauron Terret
Trexo Rhodrarak Denaka
And the bots Garron Lama Ketelone
[url=mailto://stolichnaya@efeldt.com]stolichnaya@efeldt.com[/url]
Re: Rolling scripts
I have a very simple one for mushclient... it could use some work, but it does the job:
Some considerations:
Make sure the "regular expression" and "multi line" boxes are checked, with the latter set to 7, and the "send to" option is set to Script.
In my case it's using Lua, this can be selected in your world's scripting options (and it's recommended, since it doesn't need anything external to Mushclient to work)
Make sure to enable your world's spam prevention (set it to 19 identical commands), otherwise you will get booted by the server.
Replace the numbers within the ifcheck and type "reroll" once to begin.
One of these days I will polish this thing and make it more automated and elegant, but it does the job for now.
Hope it helps someone! Any additions/suggestions are welcome.
edit: forgot to mention, you need an extra trigger to bring you back from the void once you hit your desired stats. Or you could add some automated way to do the rest of the pre-auth process. Like I mentioned before, it's very much a work in progress
Code: Select all
Trigger: ^Strength\s*(?P<str>\d*).*\nDexterity\s*(?P<dex>\d*).*\nIntelligence\s*(?P<int>\d*).*\nWisdom\s*(?P<wis>\d*).*\nCharisma\s*(?P<cha>\d*).*\nConstitution\s*(?P<con>\d*).*\nLuck\s*(?P<lck>\d*)
if (%<str> >= 9
and %<dex> >= 9
and %<int> >= 9
and %<wis> >= 9
and %<cha> >= 9
and %<con> >= 9
and %<lck> >= 9 ) then
print ("done")
else
Send("reroll")
end
Make sure the "regular expression" and "multi line" boxes are checked, with the latter set to 7, and the "send to" option is set to Script.
In my case it's using Lua, this can be selected in your world's scripting options (and it's recommended, since it doesn't need anything external to Mushclient to work)
Make sure to enable your world's spam prevention (set it to 19 identical commands), otherwise you will get booted by the server.
Replace the numbers within the ifcheck and type "reroll" once to begin.
One of these days I will polish this thing and make it more automated and elegant, but it does the job for now.
Hope it helps someone! Any additions/suggestions are welcome.
edit: forgot to mention, you need an extra trigger to bring you back from the void once you hit your desired stats. Or you could add some automated way to do the rest of the pre-auth process. Like I mentioned before, it's very much a work in progress
Re: Rolling scripts
Hi,
I wrote a very basic GUI for stat re-rolling on MUSHclient. The .XML is in the attached .zip. A screenshot is provided below:
I wrote a very basic GUI for stat re-rolling on MUSHclient. The .XML is in the attached .zip. A screenshot is provided below:
- Attachments
-
- AutoReroller.zip
- AutoReroller plugin
- (3.17 KiB) Downloaded 815 times
Respectfully,
Soltaire the Mage
Soltaire the Mage