Register for your free account! | Forgot your password?

Go Back   elitepvpers > World of Warcraft > WoW Private Server > WoW PServer Hosting
You last visited: Today at 12:23

  • Please register to post and access all features, it's quick, easy and FREE!

 

Money adding command for WOWemus

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2005
Posts: 303
Received Thanks: 2
All this goes into the Commands.tcl in scripts/lx Folder:

This two lines go in the upper paragraph of the file, just somewhere beetween 2 lines wich beginns with " (doublequotes)

"addmoney" { return [Commands::addmoney $player $cargs] }
"resmoney" { return [Commands::resmoney $player $cargs] }


This needed to be pasted in the lower paragraph, just scroll to the last line (has only a "}" sign).
Just paste in clear line before.

proc addmoney { player cargs } {
set sele [GetSelection $player]
set sname [GetName $sele]
set gg 00
set c [lindex $cargs 0]
set s [lindex $cargs 1]
set g [lindex $cargs 2]
ChangeMoney $player +$c
ChangeMoney $player +$s$gg
ChangeMoney $player +$g$gg$gg
return "$g Gold $s Silver $c Cooper added to $sname"}
proc resmoney { player cargs } {
set sele [GetSelection $player]
set sname [GetName $sele]
set gg 00
set c [lindex $cargs 0]
set s [lindex $cargs 1]
set g [lindex $cargs 2]
ChangeMoney $player -$c
ChangeMoney $player -$s$gg
ChangeMoney $player -$g$gg$gg
return "$g Gold $s Silver $c Cooper rested from $sname"}

Here an example how it should look after the pasting:
....
.....
.......
return ".rescp &#036;cargs" } } <<<---&#62;2nd last line before pasting>>>
proc addmoney { player cargs } {
set sele [GetSelection &#036;player]
set sname [GetName &#036;sele]
set gg 00
set c [lindex &#036;cargs 0]
set s [lindex &#036;cargs 1]
set g [lindex &#036;cargs 2]
ChangeMoney &#036;player +&#036;c
ChangeMoney &#036;player +&#036;s&#036;gg
ChangeMoney &#036;player +&#036;g&#036;gg&#036;gg
return "&#036;g Gold &#036;s Silver &#036;c Cooper added to &#036;sname"}
proc resmoney { player cargs } {
set sele [GetSelection &#036;player]
set sname [GetName &#036;sele]
set gg 00
set c [lindex &#036;cargs 0]
set s [lindex &#036;cargs 1]
set g [lindex &#036;cargs 2]
ChangeMoney &#036;player -&#036;c
ChangeMoney &#036;player -&#036;s&#036;gg
ChangeMoney &#036;player -&#036;g&#036;gg&#036;gg
return "&#036;g Gold &#036;s Silver &#036;c Cooper rested from &#036;sname"}
} <<<--------&#62; this ist the lastline of the file>>>

Don&#39;t paste the <<< blabla>>> part

Select a player, .addmoney <cooper> <silver> <gold> and to extract money from the player .resmoney <cooper> <silver> <gold>

if you only want to add for example gold you have to put a 0 in the non used money like this: .addmoney 0 0 1 this will add 1 gold.

I know the .add 7 gives you an item sellable for 1000g but this one edits directly your money, I like this one better.
Dont think I did it just pastet and explained the pasting from an blizzhackers article from Snake
Have fun&#33;
seth



seth0815 is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
WTT 12sky devotion money for serenity or vengenace money
as the title says.
0 Replies - Trading
[Release] Show how much "Money,CPs,VPs" did you got From the command
It is easy and need nothing .. All in Client.cs Silvers/Money Search for if (Splitter == "/silvers") under this line :...
12 Replies - CO2 PServer Guides & Releases
Guide to earn money in the game using real money that is earned online!
it's actually free but! Of Course you should work for it.. Can't you buy buy items in the game for real money? well Didn't you know that you can...
3 Replies - SRO Main - Discussions / Questions



All times are GMT +1. The time now is 12:23.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.