Meta tags:
Headings (most frequently used words):
-
Text of the page (most frequently used words):
roll (33), target (26), msg (25), server (22), nick (22), command (19), the (18), dice (17), lang (14), return (11), for (9), version (7), sides (7), elsif (7), use (6), rolls (6), mit (6), script (5), irssi (5), makaze (5), msgcompare (5), dice_concise (4), german (4), english (4), output (4), help (4), and (4), substr (4), modifyerrors (4), paradox (4), join (4), marcel (3), kossin (3), mkossin (3), würfel (3), has (3), write (3), 2d20 (3), 3d6 (3), added (3), with (3), fewer (3), 100 (3), signal_add (3), sub (3), question (3), forloop (3), value (3), würfeln (3), scheitert (3), versuch (3), fails (3), try (3), die (3), hilfe (3), simulator (2), what (2), this (2), notes (2), often (2), our (2), channel (2), nothing (2), given (2), should (2), are (2), information (2), one (2), only (2), gets (2), range (2), catch (2), rolling (2), instead (2), original (2), using (2), name (2), own_question (2), address (2), public_question (2), else (2), den (2), werfen (2), weniger (2), verursacht (2), ein (2), oder (2), hat (2), jemand (2), schon (2), mal (2), einen (2), gesehen (2), causes (2), anybody (2), ever (2), seen (2), syntax (2), 2w20 (2), message (2), based, dungeon, master, neverwinternights, servers, called, bund, der, alten, reiche, eng, alliance, old, realms, bundderaltenreiche, site, idling, thought, might, fun, have, since, found, wrote, little, piece, assumes, that, print, other, hand, prints, usage, anyone, kann, ask, toss, him, just, say, want, notation, well, known, from, thus, users, here, some, examples, think, you, got, already, about, how, changes, features, can, add, bonuses, changed, line, corrected, grammar, removed, insults, cleaner, code, nested, statements, true, case, switches, errors, call, before, loop, saving, clock, cycles, bugs, fixed, within, correct, edge, cases, less, than, above, rolled, number, between, full, 1d6, would, through, but, never, updated, strict, vars, scalar, util, looks_like_number, command_bind, authors, contact, izaya, orihara, gmail, description, concise, channels, license, gnu, gpl, later, unless, length, rnd, split, modifiers, modifytype, modifyval, plus, support, macht, nichts, funktioniert, besten, does, works, best, ohne, seiten, without, nur, einer, seite, side, augen, würfelt, dem, und, erhält, ihr, ergebnis, ändern, zahlen, modify, their, result, numbers, x039, modifier, modifikator, gives, zeigt, deutsche, public, own_public,
Text of the page (random words):
dice_concise based on marcel kossin s dice rp dice simulator what is this marcel kossin s notes i mkossin often dungeon master on our neverwinternights servers called bund der alten reiche eng alliance of the old realms at bundderaltenreiche de german site often idling in our channel i thought it might be fun to have a script to dice since i found nothing for irssi i wrote this little piece of script the script assumes that if a d for english dice is given it should print the output in english on the other hand if a w for german würfel is given it prints the output in german usage anyone on the channel kann ask roll to toss the dice for him he just has to say what dice he want to use the notation should be well known from rp thus write roll d or w for german users here are some examples roll 2d20 roll 3d6 ok i think you got it already write roll version for version information write roll help for information about how to use it makaze s notes changes in dice_concise features added can add bonuses to the roll e g roll 3d6 10 output changed to one line only e g makaze rolls the 3d6 and gets 9 4 4 1 corrected english grammar removed insults cleaner code with fewer nested if statements and true case switches errors call before the loop saving clock cycles bugs fixed rolls within the correct range edge cases added catch if rolling less than 1 dice catch if dice or sides are above 100 instead of 99 the original dice pl rolled a number between 1 and 1 instead of using the full range e g roll 1d6 would output 1 through 5 but never 6 original script dice pl by mkossin updated script dice_concise pl by makaze use strict use vars qw version irssi use scalar util qw looks_like_number use irssi qw command_bind signal_add version 0 1 6 irssi authors marcel kossin makaze contact izaya orihara gmail name dice_concise description a concise dice simulator for channels license gnu gpl v2 or later sub own_question my server msg nick address target _ question server msg nick target sub public_question my server msg nick address target _ question server msg nick target sub question my server msg nick target _ _ msg my msgcompare lc if substr msgcompare 0 5 ne roll return 0 unless length target target nick nick server nick if d dw d i my rnd my forloop my lang my roll split s _ 2 my dice sides roll 1 d dw d i my modifiers roll 1 d gi my modifytype my modifyval my modifyerrors roll 1 d my value plus support added my rolls if d w d i lang de else lang en if dice command msg target nick macht nichts würfeln funktioniert am besten mit würfeln if lang eq en server command msg target nick does nothing rolling dice works best with dice return 0 elsif dice 100 if lang eq de server command msg target nick scheitert den roll 1 zu werfen versuch es mit weniger würfeln if lang eq en server command msg target nick fails to roll the roll 1 try fewer dice return 0 elsif sides command msg target nick verursacht ein paradox oder hat jemand schon mal einen würfel ohne seiten gesehen if lang eq en server command msg target nick causes a paradox or has anybody ever seen a die without sides return 0 elsif sides 1 if lang eq de server command msg target nick verursacht ein paradox oder hat jemand schon mal einen würfel mit nur einer seite gesehen if lang eq en server command msg target nick causes a paradox or has anybody ever seen a die with only one side return 0 elsif sides 100 if lang eq de server command msg target nick scheitert den roll 1 zu werfen versuch es mit weniger augen if lang eq en server command msg target nick fails to roll the roll 1 try fewer sides return 0 for forloop 0 forloop command msg target nick würfelt mit dem roll 1 und erhält value join rolls if lang eq en server command msg target nick rolls the roll 1 and gets value join rolls if modifyerrors if lang eq de server command msg target nick scheitert ihr ergebnis zu ändern versuch es mit zahlen join modifyerrors if lang eq en server command msg target nick fails to modify their result try using numbers join modifyerrors return 1 elsif substr msgcompare 0 13 eq roll version server command msg target x039 irssi name version version by makaze mkossin return 0 elsif substr msgcompare 0 10 eq roll help server command msg target syntax roll d modifier e g roll 2d20 roll 2d20 2 10 return 0 elsif substr msgcompare 0 11 eq roll hilfe server command msg target syntax roll w modifikator z b roll 2w20 roll 2w20 2 10 return 0 else server command msg target roll help gives the english help server command msg target roll hilfe zeigt die deutsche hilfe an return 0 signal_add message public public_question signal_add message own_public own_question
|