summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-16 15:26:27 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-16 15:26:27 +0000
commit1e96fe7d63e6ec25cad98a5b1bef1b81e2c00fb6 (patch)
treec0ae3c85530ad4ea4c6d1e02776427dfb245004a /src/map/script.c
parentb8bec28b62db49329ca30bf5d04b37c40cb147ea (diff)
downloadhercules-1e96fe7d63e6ec25cad98a5b1bef1b81e2c00fb6.tar.gz
hercules-1e96fe7d63e6ec25cad98a5b1bef1b81e2c00fb6.tar.bz2
hercules-1e96fe7d63e6ec25cad98a5b1bef1b81e2c00fb6.tar.xz
hercules-1e96fe7d63e6ec25cad98a5b1bef1b81e2c00fb6.zip
* Edited atcommand and charcommand syntax. Now it doesn't need the useless character name and ":".
modified Changelog-Trunk.txt modified src/map/atcommand.c modified src/map/atcommand.h modified src/map/charcommand.c modified src/map/charcommand.h modified src/map/clif.c modified src/map/map.c modified src/map/script.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9230 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 551e286f1..414181f98 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10102,7 +10102,7 @@ int buildin_atcommand(struct script_state *st)
if (st->rid)
sd = script_rid2sd(st);
- if (sd) is_atcommand(sd->fd, sd, cmd, 99);
+ if (sd) atcommand_sub(sd->fd, sd, cmd, 99);
else { //Use a dummy character.
struct map_session_data dummy_sd;
struct block_list *bl = NULL;
@@ -10113,7 +10113,7 @@ int buildin_atcommand(struct script_state *st)
if (bl->type == BL_NPC)
strncpy(dummy_sd.status.name, ((TBL_NPC*)bl)->name, NAME_LENGTH);
}
- is_atcommand(0, &dummy_sd, cmd, 99);
+ atcommand_sub(0, &dummy_sd, cmd, 99);
}
return 0;
@@ -10129,7 +10129,7 @@ int buildin_charcommand(struct script_state *st)
if (st->rid)
sd = script_rid2sd(st);
- if (sd) is_charcommand(sd->fd, sd, cmd, 99);
+ if (sd) charcommand_sub(sd->fd, sd, cmd,99);
else { //Use a dummy character.
struct map_session_data dummy_sd;
struct block_list *bl = NULL;
@@ -10140,7 +10140,7 @@ int buildin_charcommand(struct script_state *st)
if (bl->type == BL_NPC)
strncpy(dummy_sd.status.name, ((TBL_NPC*)bl)->name, NAME_LENGTH);
}
- is_charcommand(0, &dummy_sd, cmd, 99);
+ charcommand_sub(0, &dummy_sd, cmd, 99);
}
return 0;