• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

First Login and Levelup Mail

Unknown96

Exalted Member

Hello, this is just a simple script I made that I figured could come to good use for some.

What it does

It sends a mail to all new created characters showing its appreciation to the player choosing to play on the server. It also has an option within the script to also include a welcoming package that contains a number of things such as mana potions, health potions, rage potions, energy potions, food and drinks.

It also rewards player for leveling up, each 10th level it sends the player an exact gold amount of the level its receiving. You can also easily edit the levels targeted and the amount of money you'd receive if you don't mind counting of course. The player also gets notified about this via a broadcast message

Script
SQL


Images
Code:
http://s13.postimg.org/nuq0cva9j/Message.png
http://s13.postimg.org/6evub6bav/Money.png
http://s11.postimg.org/8b8t4imn7/Gift.png
http://s2.postimg.org/f0fmnzpkp/Loot_1.png
http://s22.postimg.org/dq61p3zoh/Loot_2.png

Here is the options I made

Code:
local logo = "TrinityCore"
local package = true
local notify = true
local package_repeat = true
local first_package = 55000
local multiplication = 10000



You can probably tell already what these mean but in case not here's a short explanation.

Logo, this is just your server logo such as TotalyLegitServer-WoW as an example, this logo will be used within the letter and message.

package, this is where you can choose between sending an reward to the player for leveling up and first time logging in. true indicates activated and false indicates deactivated.

notify, this is an smaller option that if set to true it will send a notification message to a player when he reaches an level targeted within the script. And if set to false it will not be notified by a message just whenever they notice it.

package_repeat, with this option activated the present will be sent to the player every time he reaches a targeted level.

first_package, this is the item id set for the package (present), its set to 55000 by default because that is the entry id I have chosen for the present.

multiplication, this is math. It takes the players level and times that by the value in this so 10000 in this case makes level 10 earn 10 gold and 80 earn 80 gold.
 
Last edited:

Teryaki

Exalted Member
Very cool, something that could be of use on any type of server, fun or Blizzlike. Gives players that extra incentive to play besides just getting the level 80 gift that Blizzard added. Maybe adding like "Care Packages" to every ten levels with the gold to replenish their supplies?
 

Tommy

Founder
Nice share. You do realize you can put the images in
 

Unknown96

Exalted Member
Very cool, something that could be of use on any type of server, fun or Blizzlike. Gives players that extra incentive to play besides just getting the level 80 gift that Blizzard added. Maybe adding like "Care Packages" to every ten levels with the gold to replenish their supplies?

Sounds like an good thing to add to make it more personal and also can come to good use if you switch the item rewards since I don't see how some low levels potions are going to be of good use for anyone above level 60 at least.

Thanks for the suggestion.

- - - Updated - - -

Nice share. You do realize you can put the images in tags? :P[/QUOTE]

Yeah I do realize that's possible I just felt like all the images would take up so much space so I just decided to put them in code to make the thread look smaller :)
 
Top