#include "services.h"
#include "nickserv.h"
#include "chanserv.h"
#include "log.h"
#include "interp.h"
Go to the source code of this file.
Functions | |
void | sendToGameServ (UserList *nick, char **args, int numargs) |
Parse a GameServ message. | |
int | dice (int dice, int sides) |
rolls some dice and returns the sum of the rolls | |
cmd_return | gs_help (UserList *nick, char **args, int numargs) |
/msg GameServ help | |
cmd_return | gs_roll (UserList *nick, char **args, int numargs) |
Variables | |
interp::service_cmd_t | gameserv_commands [] |
Dispatch table for GameServ commands. |
Definition in file gameserv.c.
|
rolls some dice and returns the sum of the rolls
Definition at line 112 of file gameserv.c. References dice(). Referenced by dice(), gs_roll(), and guest_cnick(). |
|
[Frequency] # [Number of Dice] D [Number of sides] +/- [Modifier] ^^^^^^^^^^^^^^^^^ Only the number of sides is mandatory. Definition at line 152 of file gameserv.c. References addFlood(), dice(), GameServ, getChanData(), getChanOp(), getChanUserData(), isRoot(), chanlist_struct::reg, RET_EFAULT, RET_KILLED, RET_NOTARGET, RET_OK, RET_SYNTAX, and sSend(). |
|
Parse a GameServ message.
Definition at line 69 of file gameserv.c. References GameServ, gameserv_commands, getOpFlags(), _userlist::nick, RET_FAIL, and sSend(). Referenced by parseLine(). |
|
Initial value: Dispatch table for GameServ commands.
Definition at line 49 of file gameserv.c. Referenced by sendToGameServ(). |