<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:00:03] <Forecaster> %command edit bugs
{r:1-200} little bugs on the wall. Take one down, patch it around.
{r:1-200} little bugs on the wall.
L2[00:00:04] <MichiBot> Forecaster: Command
Edited
L3[00:00:10] <Forecaster> %bugs
L4[00:00:16] <Michiyo> welp.
L5[00:00:18] <Forecaster> err
L6[00:00:27] <Michiyo> Forecaster++
L7[00:00:27] <ForeBot> Michiyo:
Forecaster|AFK now has 2 points
L8[00:00:29] <MichiBot> Michiyo:
Forecaster|AFK now has 2147484664.0 points
L9[00:00:40] ⇦
Parts: l0g (l0g!~unix@180.242.214.128) ())
L10[00:00:59] <Forecaster> ?command add
bugs {r:1-200} little bugs on the wall. Take one down, patch it
around. {r:1-200} little bugs on the wall.
L11[00:01:14] <Michiyo> did you enable it
in the DB?
L12[00:01:21] <Forecaster> oh right
L13[00:01:27] <Forecaster> that whole
thing
L14[00:02:30] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
()
L15[00:05:08] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L16[00:05:33] <Forecaster> ?command add
bugs {r:1-200} little bugs on the wall. Take one down, patch it
around. {r:1-200} little bugs on the wall.
L17[00:05:34] <ForeBot> Forecaster: Command
Added! Don't forget to set help text with addcommandhelp!
L18[00:05:39] <Forecaster> ?bugs
L19[00:05:51] <Forecaster>
NumberFormatException: For input string: "r:1-200"
L20[00:05:54] <Forecaster> hum
L21[00:06:38] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client
Quit)
L22[00:07:04] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L23[00:07:11] <Forecaster> ?bugs
L24[00:07:54] <Forecaster> okay, it's
trying to MessageFormat.format it and it doesn't like the {r thing
apparently
L25[00:09:54] <Forecaster> hm, {r is not
handled by the method handling placeholder replacements...
L26[00:09:57] <Forecaster> it should
be
L27[00:10:30] <Forecaster> ?command
placeholders
L28[00:10:31] <ForeBot> Valid placeholders:
%command% - Where 'command' is a different dyn-command.
[randomitem] - Inserts a random item from the inventory. [drama] -
??. [argument] - The entire argument string. [nick] - The name of
the caller. {n} - Where n is the number of an argument word
starting at 0.
L29[00:11:34] <Forecaster> but where is
it...
L30[00:12:32] <Forecaster> there you
are
L31[00:13:00] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
()
L32[00:13:27] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L33[00:13:45] <Forecaster> ?bugs
L34[00:14:20] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client
Quit)
L35[00:14:49] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L36[00:15:11] <Forecaster> ?bugs
L37[00:16:37] <Forecaster> oh
L38[00:17:11] <Forecaster> ?command edit
bugs {r:1-200:little bugs} on the wall. Take one down, patch it
around. {r:1-200:little bugs} on the wall.
L39[00:17:13] <ForeBot> Forecaster: Command
Edited
L40[00:17:15] <Forecaster> ?bugs
L41[00:17:15] <ForeBot> Forecaster: 131
little bugss on the wall. Take one down, patch it around. 131
little bugss on the wall.
L42[00:17:31] <Forecaster> oh, shoot
L43[00:17:35] <Michiyo> bugss
L44[00:17:40] <Michiyo> precious
L45[00:17:48] <Forecaster> ?command edit
bugs {r:1-200:little bug} on the wall. Take one down, patch it
around. {r:1-200:little bug} on the wall.
L46[00:17:48] <ForeBot> Forecaster: Command
Edited
L47[00:17:50] <Forecaster> ?bugs
L48[00:17:51] <ForeBot> Forecaster: 142
little bugs on the wall. Take one down, patch it around. 142 little
bugs on the wall.
L49[00:18:05] <Michiyo> it picks the same
number both times
L50[00:18:06] <Forecaster> it should parse
them individually...
L51[00:18:17] <Forecaster> apparently it
replaces in global mode
L52[00:18:30] <Michiyo> that, or it's using
the same seed
L53[00:18:51] <Forecaster> well, I use
regex to match the pattern, but I use String.replace to replace
it
L54[00:19:06] <Forecaster> and I guess
String.replace just replaces all matches
L55[00:19:53] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
()
L56[00:20:17] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L57[00:20:38] <Forecaster> it'll be
somewhat ironic if using replaceAll with a non-global regex string
works instead...
L58[00:20:43] <Forecaster> ?bugs
L59[00:20:51] <Forecaster> errors
L60[00:21:08] <Forecaster>
java.util.regex.PatternSyntaxException: Illegal repetition near
index 0
L61[00:21:10] <Forecaster> that's a new
one
L62[00:24:03] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client
Quit)
L63[00:24:27] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L64[00:24:36] <Forecaster> ?bugs
L65[00:26:48] <Michiyo> afk a bit
L66[00:27:34] <Forecaster> I mean, the easy
way out would be to just make the second one 1-199 or something,
but that doesn't feel right...
L67[00:30:08] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
()
L68[00:30:15] <Forecaster> ah
L69[00:30:20] <Forecaster>
String.replaceFirst might work
L70[00:30:32] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L71[00:30:38] <Forecaster> ?bugs
L72[00:30:42] <Forecaster> or not
L73[00:30:53] <Forecaster>
java.util.regex.PatternSyntaxException: Illegal repetition
L74[00:30:54] <Forecaster> sigh
L75[00:32:42] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client
Quit)
L76[00:33:06] ⇨
Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L77[00:33:18] <Forecaster> ?bugs
L78[00:33:18] <ForeBot> Forecaster: 40
little bugs on the wall. Take one down, patch it around. 192 little
bugs on the wall.
L79[00:33:24] <Forecaster> there we
go
L80[00:33:26] <Forecaster> ?bugs
L81[00:33:26] <ForeBot> Forecaster: 75
little bugs on the wall. Take one down, patch it around. 14 little
bugs on the wall.
L82[00:34:13] <Forecaster> fun fact, thanks
to this method, all of the placeholders I use in potion effects
work in dyn commands :P
L83[00:34:33] <Forecaster> ?command add
youre You're a {transformation}!
L84[00:34:33] <ForeBot> Forecaster: Command
Added! Don't forget to set help text with addcommandhelp!
L85[00:34:37] <Forecaster> ?youre
L86[00:34:48] <Forecaster> huh
L87[00:34:53] <Forecaster> ?youre
L88[00:34:55] <Forecaster> wut
L89[00:35:15] <Forecaster> oh
L90[00:35:18] <Forecaster> is it the
'
L91[00:35:38] <Forecaster> ?command edit
youre You are {transformation_p}!
L92[00:35:38] <ForeBot> Forecaster: Can't
add new commands with edit!
L93[00:35:48] <Forecaster> ?command add
youre You are {transformation_p}!
L94[00:35:48] <ForeBot> Forecaster: Can't
override existing commands.
L95[00:35:52] <Forecaster> ah, it
lied
L96[00:36:06] <Forecaster> it didn't
actually add it, it probably errored on the ' instead
L97[00:36:10] <Forecaster> but thought it
worked
L98[00:36:17] <Forecaster> wait
L99[00:36:18] <Forecaster> what
L100[00:36:32] <Forecaster> you just said
it didn't exist!
L101[00:36:35] <Forecaster> D:<
L102[00:36:44] <Forecaster> ?command del
youre
L103[00:36:44] <ForeBot> Forecaster:
Command deleted
L104[00:36:52] <Forecaster> ?command add
youre You are {transformation_p}!
L105[00:36:52] <ForeBot> Forecaster:
Command Added! Don't forget to set help text with
addcommandhelp!
L106[00:36:55] <Forecaster> ?youre
L107[00:36:55] <ForeBot> Forecaster: You
are lava!
L108[00:36:59] <Forecaster> ?youre
L109[00:36:59] <ForeBot> Forecaster: You
are a golem!
L110[00:37:04] <Forecaster> ?youre
L111[00:37:04] <ForeBot> Forecaster: You
are a wolf!
L112[00:37:10] <Forecaster> :P
L113[00:38:45] <Forecaster> ?command add
tap You tap {0} lightly on the head. They turn into
{transformation_p}{limit}.
L114[00:38:46] <ForeBot> Forecaster:
Command Added! Don't forget to set help text with
addcommandhelp!
L115[00:38:50] <Forecaster> ?tap
Michiyo
L116[00:38:50] <ForeBot> Forecaster: You
tap Michiyo lightly on the head. They turn into a bear until they
see a star fall.
L117[00:45:36] <Forecaster> ?tap
Amanda
L118[00:45:36] <ForeBot> Forecaster: You
tap Amanda lightly on the head. They turn into a golem until they
see a bird.
L119[00:47:11]
<Saghetti>
?tap Forecaster
L120[00:47:11] <ForeBot> Saghetti: You tap
Forecaster lightly on the head. They turn into a golem until they
eat a pie.
L121[00:55:34] <Michiyo> Oh neat
L122[02:36:56]
<Skye> ?tap
ForeBot
L123[02:37:02]
<Skye>
Grr
L124[02:48:52] <Forecaster> oh, that threw
an exception
L125[02:49:11] <Forecaster> You tap {0}
lightly on the head. They turn into an octopus for
{r:2-60:minute}.
L126[02:49:20] <Forecaster>
IllegalArgumentException: can't parse argument number:
r:2-60:minute
L127[02:49:22] <Forecaster> great
L128[03:48:12]
<Skye> ?tap
Saghetti
L129[03:48:14] <ForeBot> Skye: You tap
Saghetti lightly on the head. They turn into spaghetti until they
see a unicorn.
L130[03:48:25]
<Skye> ?tap
ForeBot
L131[03:48:29]
<Skye>
Uh
L132[03:48:46] <Forecaster> You tap {0}
lightly on the head. They turn into a sword for
{r:1-60:second}.
L133[03:51:21] <Forecaster> ah, it's the
format does the {n} parsing probably
L134[03:51:46] <Forecaster> but it errors
when the string contains a { } set that isn't {n}
L135[03:52:14] <Forecaster> I wonder if
just trycatching that would solve it
L136[03:58:38] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
()
L137[04:02:08]
⇨ Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L138[04:32:56] *
Amanda stirs awake, wonders what happen to her
L139[05:19:48] <Forecaster> :P
L140[05:19:56] <Forecaster> ?tap
Amanda
L141[05:20:02] <ForeBot> Forecaster: You
tap Amanda lightly on the head. They turn into spaghetti until they
eat a pie.
L142[05:20:09] <Forecaster> woops
L143[05:20:14] <Forecaster> ?tap
Amanda
L144[05:20:15] <ForeBot> Forecaster: You
tap Amanda lightly on the head. They turn into an otter until they
say the word "Rather".
L145[05:20:27] <Amanda> ?bap
@Forecaster
L146[05:20:28] <ForeBot> Amanda baps
@Forecaster with five annoying mice!
L147[05:22:00] <Forecaster> ?tap a nearby
rock
L148[05:22:00] <ForeBot> Forecaster: You
tap {0} lightly on the head. They turn into a bird for
{r:2-60:minute}.
L149[05:22:27] <Forecaster> oh um
L150[05:23:44] <Forecaster> ?tap
rock
L151[05:23:44] <ForeBot> Forecaster: You
tap {0} lightly on the head. They turn into spaghetti for
{r:2-5:hour}.
L152[05:23:52] <Forecaster> welp
L153[06:48:00] <Forecaster> ?tap
rock
L154[06:48:00] <ForeBot> Forecaster: You
tap rock lightly on the head. They turn into a dog until the next
time they hug someone.
L155[06:48:08] <Forecaster> ?tap
rock
L156[06:48:09] <ForeBot> Forecaster: You
tap {0} lightly on the head. They turn into a dragon for
{r:1-60:second}.
L157[06:48:51]
<ThePiGuy24>
rip
L158[06:49:25] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
()
L159[06:50:10]
⇨ Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L160[06:51:06] <Forecaster> ?tap
ThePiGuy24
L161[06:51:06] <ForeBot> Forecaster: You
tap ThePiGuy24 lightly on the head. They turn into a wolf until
they have an apple.
L162[06:51:21] <Forecaster> ?tap
ThePiGuy24
L163[06:51:21] <ForeBot> Forecaster: You
tap ThePiGuy24 lightly on the head. They turn into an otter until
they say the word "Sup".
L164[06:51:25] <Forecaster> ?tap
ThePiGuy24
L165[06:51:39] <Forecaster> ?tap
ThePiGuy24
L166[06:51:39] <ForeBot> Forecaster: You
tap ThePiGuy24 lightly on the head. They turn into a frog until
Sozins Comet returns.
L167[06:51:45] <Forecaster> ?tap
ThePiGuy24
L168[06:51:45] <ForeBot> Forecaster: You
tap {0} lightly on the head. They turn into a sword for
{r:1-60:second}.
L169[06:52:00] <Forecaster> hm, it's not
matching the {r at all
L170[06:57:59] <Forecaster> oh, of course,
because it gets passed to the method, it replaces {limit} with the
string that contains the {r but then it doesn't get parsed again,
so the {r is never parsed
L171[07:02:55] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
()
L172[07:03:13]
⇨ Joins: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L173[07:03:28] <Forecaster> ?tap
ThePiGuy24
L174[07:03:28] <ForeBot> Forecaster: You
tap ThePiGuy24 lightly on the head. They turn into a sword until
they say the phrase "Swing Nyan".
L175[07:03:44] <Forecaster> ?tap
payonel
L176[07:03:44] <ForeBot> Forecaster: You
tap payonel lightly on the head. They turn into a unicorn for 1
moon.
L177[07:04:04] <Forecaster> ?tap
somebody
L178[07:04:04] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a turtle until
they see a unicorn.
L179[07:04:12] <Forecaster> ?tap
somebody
L180[07:04:12] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a dragon until
they see a unicorn.
L181[07:04:15] <Forecaster> ?tap
somebody
L182[07:04:18] <Forecaster> ?tap
somebody
L183[07:04:18] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a crocodile until
they see a unicorn.
L184[07:04:22] <Forecaster> ?tap
somebody
L185[07:04:24] <Forecaster> ?tap
somebody
L186[07:04:25] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a fish until
Sozins Comet returns.
L187[07:04:31] <Forecaster> ?tap
somebody
L188[07:04:32] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a golem until they
say the word "Soup".
L189[07:04:37] <Forecaster> ?tap
somebody
L190[07:04:37] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into water for 6
moons.
L191[07:04:42] <Forecaster> ?tap
somebody
L192[07:04:43] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a turtle for 2
moons.
L193[07:04:48] <Forecaster> dangit
L194[07:04:50] <Forecaster> ?tap
somebody
L195[07:04:50] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a fish until they
see a bird.
L196[07:04:54] <Forecaster> ?tap
somebody
L197[07:04:54] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a sheep until they
have an apple.
L198[07:04:58] <Forecaster> ?tap
somebody
L199[07:05:00] <Forecaster> ?tap
somebody
L200[07:05:00] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a sloth until they
say the phrase "Jeez Harmony".
L201[07:05:07] <Forecaster> ?tap
somebody
L202[07:05:08] <ForeBot> Forecaster: You
tap somebody lightly on the head. They turn into a sheep for 4
hours.
L203[07:05:15] <Forecaster> okay, seems to
be working
L204[07:05:44] <Forecaster> now it just
parses the string until it stops changing (but at most 10
times)
L205[07:06:40] <Forecaster> ?tap
@Skye
L206[07:06:40] <ForeBot> Forecaster: You
tap @Skye lightly on the head. They turn into a golem for 1
moon.
L207[16:31:15] ⇦
Quits: ForeBot
(ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
()