aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorvisagalis <none@none>2008-11-14 17:50:48 -0600
committervisagalis <none@none>2008-11-14 17:50:48 -0600
commit3085e66b966fec0012decf2543c7e32064b47102 (patch)
tree3aa057fa15ce224932340fa6870d41f0b9422033 /sql
parent053b671cb5481dacc85fe192ceea937462361948 (diff)
[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
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/240_world.sql5
1 files changed, 5 insertions, 0 deletions
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