|
@@ -8021,30 +8021,6 @@ ACMD_FUNC(cash)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-/*===================================
|
|
|
|
- * Away message (@away, @aw) [LuzZza]
|
|
|
|
- *-----------------------------------*/
|
|
|
|
-ACMD_FUNC(away)
|
|
|
|
-{
|
|
|
|
- if(strlen(message) > 0) {
|
|
|
|
- if(strlen(message) > 128)
|
|
|
|
- return -1;
|
|
|
|
- strcpy(sd->away_message, message);
|
|
|
|
- //"Away automessage has been activated."
|
|
|
|
- clif_displaymessage(fd, msg_txt(546));
|
|
|
|
- } else {
|
|
|
|
- if(strlen(sd->away_message) > 0) {
|
|
|
|
- sd->away_message[0] = 0;
|
|
|
|
- //"Away automessage has been disabled."
|
|
|
|
- clif_displaymessage(fd, msg_txt(547));
|
|
|
|
- return 0;
|
|
|
|
- }
|
|
|
|
- //"Usage: @away,@aw <message>. Enter empty message for disable it."
|
|
|
|
- clif_displaymessage(fd, msg_txt(548));
|
|
|
|
- }
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
// @clone/@slaveclone/@evilclone <playername> [Valaris]
|
|
// @clone/@slaveclone/@evilclone <playername> [Valaris]
|
|
ACMD_FUNC(clone)
|
|
ACMD_FUNC(clone)
|
|
{
|
|
{
|
|
@@ -8878,8 +8854,6 @@ AtCommandInfo atcommand_info[] = {
|
|
{ "leave", 1,1, atcommand_leave },
|
|
{ "leave", 1,1, atcommand_leave },
|
|
{ "accept", 1,1, atcommand_accept },
|
|
{ "accept", 1,1, atcommand_accept },
|
|
{ "reject", 1,1, atcommand_reject },
|
|
{ "reject", 1,1, atcommand_reject },
|
|
- { "away", 1,1, atcommand_away },
|
|
|
|
- { "aw", 1,1, atcommand_away },
|
|
|
|
{ "main", 1,1, atcommand_main },
|
|
{ "main", 1,1, atcommand_main },
|
|
{ "clone", 50,50, atcommand_clone },
|
|
{ "clone", 50,50, atcommand_clone },
|
|
{ "slaveclone", 50,50, atcommand_clone },
|
|
{ "slaveclone", 50,50, atcommand_clone },
|