diff options
author | Susu <bruant.bastien@gmail.com> | 2013-07-29 15:09:42 +0200 |
---|---|---|
committer | Susu <bruant.bastien@gmail.com> | 2013-07-29 15:09:42 +0200 |
commit | 9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4 (patch) | |
tree | aa2ba2e5eec4e8fae70c11c71545b7123504c395 /src/map/script.c | |
parent | 4f441379e35619da60ddd94d44d3a5b5bb8a49b4 (diff) | |
download | hercules-9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4.tar.gz hercules-9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4.tar.bz2 hercules-9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4.tar.xz hercules-9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4.zip |
Added chat interface
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/script.c b/src/map/script.c index 865673630..0827eb497 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10017,7 +10017,7 @@ BUILDIN(waitingroom) nd = (struct npc_data *)iMap->id2bl(st->oid); if( nd != NULL ) - chat_createnpcchat(nd, title, limit, pub, trigger, ev, zeny, minLvl, maxLvl); + chat->createnpcchat(nd, title, limit, pub, trigger, ev, zeny, minLvl, maxLvl); return true; } @@ -10034,7 +10034,7 @@ BUILDIN(delwaitingroom) else nd = (struct npc_data *)iMap->id2bl(st->oid); if( nd != NULL ) - chat_deletenpcchat(nd); + chat->deletenpcchat(nd); return true; } @@ -10053,7 +10053,7 @@ BUILDIN(waitingroomkickall) nd = (struct npc_data *)iMap->id2bl(st->oid); if( nd != NULL && (cd=(struct chat_data *)iMap->id2bl(nd->chat_id)) != NULL ) - chat_npckickall(cd); + chat->npckickall(cd); return true; } @@ -10072,7 +10072,7 @@ BUILDIN(enablewaitingroomevent) nd = (struct npc_data *)iMap->id2bl(st->oid); if( nd != NULL && (cd=(struct chat_data *)iMap->id2bl(nd->chat_id)) != NULL ) - chat_enableevent(cd); + chat->enableevent(cd); return true; } @@ -10091,7 +10091,7 @@ BUILDIN(disablewaitingroomevent) nd = (struct npc_data *)iMap->id2bl(st->oid); if( nd != NULL && (cd=(struct chat_data *)iMap->id2bl(nd->chat_id)) != NULL ) - chat_disableevent(cd); + chat->disableevent(cd); return true; } |