collapse

Author Topic: Diceroller script?  (Read 1934 times)

Offline Radical21

  • Antediluvian
  • *****
  • Posts: 3023
Diceroller script?
« on: October 16, 2010, 03:19:01 PM »
Can you please add this mod to the forum?
http://custom.simplemachines.org/mods/index.php?mod=2032

« Last Edit: October 16, 2010, 03:27:13 PM by Radical21 »

Offline Radical21

  • Antediluvian
  • *****
  • Posts: 3023
Re: Diceroller script?
« Reply #1 on: October 16, 2010, 06:00:59 PM »
....
« Last Edit: October 16, 2010, 06:09:28 PM by Radical21 »

Offline Javokis

  • Horse's Dick
  • Administratrix
  • Antediluvian
  • *****
  • Posts: 45911
Re: Diceroller script?
« Reply #2 on: October 17, 2010, 04:10:12 AM »
This dice roll has been tampered with!
Rolled 5d10 : 7, 1, 6, 2, 10, total 26

Installed, but it's gray on gray. Lovely. Now I got to pull out the damn css and find out how the hell...

It's not gray on gray after you edit your post.
« Last Edit: October 17, 2010, 04:12:41 AM by Javokis »
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." Signo

Offline Javokis

  • Horse's Dick
  • Administratrix
  • Antediluvian
  • *****
  • Posts: 45911
Re: Diceroller script?
« Reply #3 on: October 17, 2010, 04:45:01 AM »
testing...

[blockquote]Rolled 3d10 : 9, 10, 8, total 27[/blockquote]
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." Signo

Offline Radical21

  • Antediluvian
  • *****
  • Posts: 3023
Re: Diceroller script?
« Reply #4 on: October 17, 2010, 05:41:13 AM »
Not bad, 3 successes

Seems to be working, all you have to do is highlight the text to see it , prevents spoilers   :razz:

[blockquote]Rolled 5d10 : 6, 2, 1, 7, 6, total 22[/blockquote]
« Last Edit: October 17, 2010, 06:16:50 AM by Radical21 »

Offline Javokis

  • Horse's Dick
  • Administratrix
  • Antediluvian
  • *****
  • Posts: 45911
Re: Diceroller script?
« Reply #5 on: October 17, 2010, 04:45:00 PM »
Looking over the code, it's displayed as a div object with a style already defined. Nothing I can do in css anyway.
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." Signo

Offline Radical21

  • Antediluvian
  • *****
  • Posts: 3023
Re: Diceroller script?
« Reply #6 on: October 17, 2010, 05:55:22 PM »
Looking over the code, it's displayed as a div object with a style already defined. Nothing I can do in css anyway.

From what they say in the support forums for this mod the solution is in subs.php, you can find the specifics on the mod/plugin's support forum but if it requires changing the style of the regular forum posts its not worth it IMO.

Offline Javokis

  • Horse's Dick
  • Administratrix
  • Antediluvian
  • *****
  • Posts: 45911
Re: Diceroller script?
« Reply #7 on: October 18, 2010, 01:53:59 AM »
Thanks. Found it. Fixed now.
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." Signo

Offline Radical21

  • Antediluvian
  • *****
  • Posts: 3023
Re: Diceroller script?
« Reply #8 on: October 18, 2010, 02:03:46 AM »
Cool thanks, now it would be fairly easy to run PbP games on the forum.

Offline cadmiumcadamium

  • Methuselah
  • ****
  • Posts: 281
Re: Diceroller script?
« Reply #9 on: November 03, 2010, 11:01:30 AM »
How does one add this script to one's posts?

Offline Radical21

  • Antediluvian
  • *****
  • Posts: 3023
Re: Diceroller script?
« Reply #10 on: November 03, 2010, 11:54:19 AM »
There is a dice button and inside the brackets you write something like 5d10 or 7d10 and so on , its pretty simple really but once you edit your post people can see so you cant cheat it.

Offline cadmiumcadamium

  • Methuselah
  • ****
  • Posts: 281
Re: Diceroller script?
« Reply #11 on: November 03, 2010, 01:54:40 PM »
testing

[blockquote]Rolled 5d10 : 5, 2, 3, 10, 3, total 23[/blockquote]