From 114ad5ee393c83e8417ed924a5199a33ff8152a8 Mon Sep 17 00:00:00 2001 From: gumi Date: Mon, 18 Sep 2017 16:05:45 -0400 Subject: remove deprecated useatcmd from scripts --- npc/008-1/confused-tree.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/npc/008-1/confused-tree.txt b/npc/008-1/confused-tree.txt index 76efcfb4..5642e600 100644 --- a/npc/008-1/confused-tree.txt +++ b/npc/008-1/confused-tree.txt @@ -726,14 +726,16 @@ OnTalkNearby: else if (debug && .@no_nick$ ~= "^.re(?:boot|load|start)(?:(?: the)? server)?$") { announce("The server is rebooting. This may take a couple minutes.", bc_all); - useatcmd("@serverexit 104"); + sleep2(1000); + atcommand("@serverexit 104"); } // exit, pull all, clean, build, reboot else if (debug && .@no_nick$ ~= "^.re-?build(?:(?: the)? server)?$") { announce("The server is rebuilding. This will take several minutes.", bc_all); - useatcmd("@serverexit 108"); + sleep2(1000); + atcommand("@serverexit 108"); } else if (.@no_nick$ ~= "^.(?:add )?ignored? \"?([^#:@\"]{4,23})\"?$") -- cgit v1.2.3-70-g09d2