diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index ee5bbbdc5..36c29e8d5 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -13016,6 +13016,20 @@ BUILDIN_FUNC(openmail) return 0; } +BUILDIN_FUNC(openauction) +{ + TBL_PC* sd; + + sd = script_rid2sd(st); + if( sd == NULL ) + return 0; + +#ifndef TXT_ONLY + clif_Auction_openwindow(sd); +#endif + return 0; +} + /// Modifies flags of cells in the specified area. /// /// setcell "<map name>",<x1>,<y1>,<x2>,<y2>,<type>,<flag>; @@ -13386,6 +13400,7 @@ struct script_function buildin_func[] = { BUILDIN_DEF(checkvending,"*"), BUILDIN_DEF(checkchatting,"*"), BUILDIN_DEF(openmail,""), + BUILDIN_DEF(openauction,""), BUILDIN_DEF(setcell,"siiiiii"), {NULL,NULL,NULL}, }; |