Unknown2011-08-13 12:25:13
I took this idea from the Aetolia forums. "Indiana" from there wrote a MUSH version that simply votes as and when needed.
The link to the original thread is here.
Having improved on it slightly, (added some Mudlet niceness) I am in a position to offer it here.
As the original script is for Aetolia, there has obviously been a slight modification and it has been hosted on Google Code.
Any problem with this, let me know.
Simply make a new trigger that will match on:
Set the trigger type to exact match.
Containing the script:
Enjoy!
EDIT: I should mention, you will need to download Greasemonkey for Firefox for this to work
Those of us using Chrome/Chromium are all good to go. We support monkey scripts already.
The link to the original thread is here.
Having improved on it slightly, (added some Mudlet niceness) I am in a position to offer it here.
As the original script is for Aetolia, there has obviously been a slight modification and it has been hosted on Google Code.
Any problem with this, let me know.
Simply make a new trigger that will match on:
Vote here: http://www.ironrealms.com/irex/tmsvote.php?id=lusternia
Set the trigger type to exact match.
Containing the script:
openUrl("http://www.lusternia.com/vote")
hasMonkeyScript = io.open(getMudletHomeDir() .. "/gotScript", "r")
if not hasMonkeyScript then
openUrl("http://bwl.googlecode.com/files/autovote.user.js")
io.output(io.open(getMudletHomeDir() .. "/gotScript", "w"))
io.write("got")
io.close()
end
Enjoy!
EDIT: I should mention, you will need to download Greasemonkey for Firefox for this to work
Those of us using Chrome/Chromium are all good to go. We support monkey scripts already.
Ilyarin2011-08-13 12:38:56
Neat. Added. It would be even neater if there was a plugin that did it all behind-the-scenes, so you didn't even see the site pop up, but I'm not sure how feasible this is.
Unknown2011-08-13 12:43:19
Yeah, it's technically possible. Certainly with Linux, although I think I would have to spawn a separate browser process.
It's something I may look into adding in the future.
It's something I may look into adding in the future.
Shedrin2011-08-13 16:34:14
QUOTE (Draylor @ Aug 13 2011, 07:43 AM) <{POST_SNAPBACK}>
Yeah, it's technically possible. Certainly with Linux, although I think I would have to spawn a separate browser process.
It's something I may look into adding in the future.
It's something I may look into adding in the future.
*Using Linux*
I'm interested. Thanks for the script.
Unknown2011-08-13 18:44:36
Getting most applications to start minimised is a royal PITA.
However! (Only for Linux at the moment, I am afraid.)
First, install DevilsPie:
We now need to create a small script that will tell Chromium/Firefox to start minimised:
Start DevilsPie:
I have not allowed the script downloading to be minimized as you need to actively accept the script.
However! (Only for Linux at the moment, I am afraid.)
First, install DevilsPie:
sudo apt-get install devilspie
mkdir ~/.devilspie
We now need to create a small script that will tell Chromium/Firefox to start minimised:
(if
(is (application_name) "chromium-browser")
(begin
(minimize)
)
)
Start DevilsPie:
$ devilspie &
os.execute("chromium-browser --focus-existing-tab-on-open http://www.lusternia.com/vote")
hasMonkeyScript = io.open(getMudletHomeDir() .. "/gotScript", "r")
if not hasMonkeyScript then
openUrl("http://bwl.googlecode.com/files/autovote.user.js")
io.output(io.open(getMudletHomeDir() .. "/gotScript", "w"))
io.write("got")
io.close()
end
I have not allowed the script downloading to be minimized as you need to actively accept the script.
Calixa2011-08-14 10:47:13
Lovely. Installed