We get warnings when we use pike -rT to run Spike. Most of them are easy to fix, and I'll do it when I get around to it. Patches are welcome :P.
$ pike -rT bot.pike
bot.pike:32: Warning: Unused local variable ping.
bot.pike:22: Warning: Bad argument 1 to foreach().
bot.pike:22: Warning: Expected: array(string).
bot.pike:22: Warning: Got : array.
bot.pike:27: Warning: An expression of type mixed cannot be assigned to a variable of type string.
bot.pike:39: Warning: Type mismatch in argument 1 to sendln.
bot.pike:39: Warning: Expected: string.
bot.pike:39: Warning: Got : string | int | float | mixed.
bot.pike:44: Warning: Type mismatch in argument 1 to sendln.
bot.pike:44: Warning: Expected: string.
bot.pike:44: Warning: Got : string | int | float | mixed.
bot.pike:47: Warning: Type mismatch in argument 1 to sendln.
bot.pike:47: Warning: Expected: string.
bot.pike:47: Warning: Got : string | mixed.
bot.pike:50: Warning: Type mismatch in argument 2 to split2.
bot.pike:50: Warning: Expected: string.
bot.pike:50: Warning: Got : mixed.
bot.pike:51: Warning: Type mismatch in argument 1 to sendln.
bot.pike:51: Warning: Expected: string.
bot.pike:51: Warning: Got : string | mixed.
bot.pike:55: Warning: Type mismatch in argument 2 to split2.
bot.pike:55: Warning: Expected: string.
bot.pike:55: Warning: Got : mixed.
bot.pike:56: Warning: Type mismatch in argument 1 to replace.
bot.pike:56: Warning: Expected: array | mapping | string.
bot.pike:56: Warning: Got : mixed.
bot.pike:56: Warning: Type mismatch in argument 1 to replace.
bot.pike:56: Warning: Expected: array | mapping | string.
bot.pike:56: Warning: Got : string | mixed.
bot.pike:56: Warning: Type mismatch in argument 1 to sendln.
bot.pike:56: Warning: Expected: string.
bot.pike:56: Warning: Got : string | mixed.
<- NICK Spike
<- USER spike spike spike spike
<- JOIN #bots
We get warnings when we use
pike -rTto run Spike. Most of them are easy to fix, and I'll do it when I get around to it. Patches are welcome :P.$
pike -rT bot.pike