From 3085e66b966fec0012decf2543c7e32064b47102 Mon Sep 17 00:00:00 2001 From: visagalis Date: Fri, 14 Nov 2008 17:50:48 -0600 Subject: [svn] *** Source: MaNGOS *** * Fixed english spelling in src/game/WorldSocket.h/cpp. Author: Derex * [240_world.sql] Create new command .senditems and remove from moderator level command .sendmail possibility send items. Author: Vladimir * Added new command: .sendmoney player "subject" "message" money - Sends a mail with money to a player. Author: fredi * Correctly apply taken damage debufs/bonuses in cases non-physical melee damage. Author: Frankir * Fix a crash in add friend/ignore callback. (check if player still logged in). Author: Hunuza * Better args checking in .sendmoney command. Author: Vladimir --HG-- branch : trunk --- sql/updates/240_world.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sql/updates/240_world.sql (limited to 'sql') diff --git a/sql/updates/240_world.sql b/sql/updates/240_world.sql new file mode 100644 index 00000000000..c5cd7236d0c --- /dev/null +++ b/sql/updates/240_world.sql @@ -0,0 +1,5 @@ +delete from `command` where `name` IN ('senditems','sendmail'); +insert into `command` (`name`, `security`, `help`) values +('senditems',3,'Syntax: .senditems #playername "#subject" "#text" itemid1[:count1] itemid2[:count2] ... itemidN[:countN]\r\n\r\nSend a mail to a player. Subject and mail text must be in "". If for itemid not provided related count values then expected 1, if count > max items in stack then items will be send in required amount stacks. All stacks amount in mail limited to 12.'), +('sendmail',1,'Syntax: .sendmail #playername "#subject" "#text"\r\n\r\nSend a mail to a player. Subject and mail text must be in "".'); + \ No newline at end of file -- cgit v1.2.3