]> jfr.im git - irc/gameservirc.git/blob - gameserv/script.cpp
added two files to start processing scripts
[irc/gameservirc.git] / gameserv / script.cpp
1 #include "script.h"
2
3 script::script()
4 {
5 scriptstr = "";
6 }
7
8 script::script(string &str)
9 {
10 scriptstr = str;
11 }
12
13 script::script(const char *str)
14 {
15 scriptstr = str;
16 }
17
18 script::~script()
19 {
20 scriptstr = "";
21 }
22
23 void script::setString(string &str)
24 {
25 scriptstr = str;
26 }
27
28 void script::setString(const char *str)
29 {
30 scriptstr = str;
31 }
32
33 bool script::executeScript(Player *p)
34 {
35 return true;
36 }