do_math(response, unsplit_string(argv + 1, argc - 1, NULL));
if(channel)
- send_channel_message(channel, cmd->parent->bot, "%b%s%b: %s", user->nick, response);
+ send_channel_message(channel, cmd->parent->bot, "$b%s$b: %s", user->nick, response);
else
send_message_type(4, user, cmd->parent->bot, "%s", response);
return 1;
DEFINE_COMMAND(8ball, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
DEFINE_COMMAND(d, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
DEFINE_COMMAND(huggle, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
+ DEFINE_COMMAND(calc, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
/* Channel options */
DEFINE_CHANNEL_OPTION(defaulttopic);