Difference between revisions of "Talk:Microlite20"

From 1d4chan
Line 5: Line 5:
  
 
: The javascript does work, but it doesn't check if you entered an empty string as the # of hitdice.  Your Python code leaves '.0' lying around.  Fixing. --[[User:NotBrandX|NotBrandX]] ([[User talk:NotBrandX|talk]]) 15:31, 13 April 2018 (UTC)
 
: The javascript does work, but it doesn't check if you entered an empty string as the # of hitdice.  Your Python code leaves '.0' lying around.  Fixing. --[[User:NotBrandX|NotBrandX]] ([[User talk:NotBrandX|talk]]) 15:31, 13 April 2018 (UTC)
::  Cheers
+
::  Cheers, do you mind if I steal your better code for my GitHub?

Revision as of 16:33, 13 April 2018

Python

Ive added Python code to replace the JavaScript that doesnt work. Heres the Githhub if anyone cares: https://github.com/tsikorksi/MicroliteUtilities It could definately do with some improvement --Special:Contributions/5.148.47.98

The javascript does work, but it doesn't check if you entered an empty string as the # of hitdice. Your Python code leaves '.0' lying around. Fixing. --NotBrandX (talk) 15:31, 13 April 2018 (UTC)
Cheers, do you mind if I steal your better code for my GitHub?