[project @ 2002-07-12 03:27:05 by unknown_lamer]
[clinton/bobotpp.git] / source / ScriptCommands.H
CommitLineData
cb21075d 1// ScriptCommands.H -*- C++ -*-
2// Copyright (c) 1998 Etienne BERNARD
3// Copyright (c) 2002 Clinton Ebadi
4
5// This program is free software; you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation; either version 2 of the License, or
8// any later version.
9
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14
15// You should have received a copy of the GNU General Public License
16// along with this program; if not, write to the Free Software
17// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18
19#ifndef SCRIPTCOMMANDS_H
20#define SCRIPTCOMMANDS_H
21
22#ifdef HAVE_CONFIG_H
23#include "config.h"
24#endif
25
26#ifdef USESCRIPTS
27
28#include <libguile.h>
29#include "Commands.H"
30
31class ScriptCommands {
32public:
33 static SCM Action(SCM, SCM);
34 static SCM AddUser(SCM, SCM, SCM, SCM, SCM, SCM, SCM);
35 static SCM AddServer(SCM, SCM);
36 static SCM AddShit(SCM, SCM, SCM, SCM, SCM);
37 static SCM Ban(SCM, SCM);
38 static SCM ChangeLevel(SCM, SCM, SCM);
39 static SCM Cycle(SCM);
40 static SCM Deban(SCM, SCM);
41 static SCM DelServer(SCM);
42 static SCM DelUser(SCM, SCM);
43 static SCM DelShit(SCM, SCM);
44 static SCM Deop(SCM, SCM);
45 static SCM Die(SCM);
46 static SCM Do(SCM);
47 static SCM Invite(SCM, SCM);
48 static SCM Join(SCM, SCM);
49 static SCM Keep(SCM, SCM);
50 static SCM Kick(SCM, SCM, SCM);
51 static SCM KickBan(SCM, SCM, SCM);
52 static SCM Lock(SCM);
53 static SCM LogPort(void);
54 static SCM Mode(SCM, SCM);
55 static SCM Msg(SCM, SCM);
56 static SCM NextServer(void);
57 static SCM Nick(SCM);
58 static SCM Op(SCM, SCM);
59 static SCM Part(SCM);
60 static SCM Reconnect(void);
61 static SCM Say(SCM, SCM);
62 static SCM Server(SCM); // ACK NAMING CLASH
63 static SCM SetVersion(SCM);
64 static SCM TBan(SCM, SCM, SCM);
65 static SCM TKBan(SCM, SCM, SCM, SCM);
66 static SCM Topic(SCM, SCM);
67 static SCM Unlock(SCM);
68
69 static SCM getNickname(void);
70 static SCM getServer(void);
71 static SCM getServerList(void);
72 static SCM flushQueue(void);
73 static SCM flushPort(void);
74 static SCM random(SCM);
75 static SCM addCommand(SCM, SCM, SCM, SCM, SCM);
76 static SCM delCommand(SCM);
77 static SCM AddHook(SCM, SCM, SCM, SCM, SCM);
78 static SCM AddTimer(SCM, SCM);
79 static SCM DelTimer(SCM);
80};
81
82#endif
83#endif