The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clear the gold from players
Author Message
arthurxk
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2012
Reputation: 0



Post: #1
Exclamation Clear the gold from players
Hello again buddies,

I need a script to delete all the gold players. Does not anyone have one of these around? most urgent
09-27-2012 10:07 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
RE: Clear the gold from players
.SERV.ALLCLIENTS GOLD 0

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-28-2012 01:30 AM
Find all posts by this user Like Post Quote this message in a reply
arthurxk
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2012
Reputation: 0



Post: #3
RE: Clear the gold from players
Thanks Dude!
09-28-2012 01:50 AM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #4
RE: Clear the gold from players
Heres a handy one for you. Just type .itemremover in game and whatever you target every instance of it will be deleted.
Target a gold coin and all the gold will leave the server, that goes for anything else you target so becarefull with it.

Code:
[FUNCTION f_ItemRemoverRemover]

    FORINSTANCES <ARGV[0]>
        REMOVE
        LOCAL.ActualCount=<INSTANCES>
    ENDFOR
    SYSMESSAGE @55,,1 Removed <EVAL <LOCAL.ActualCount>> <ARGV[0]> From the Server

[FUNCTION f_ItemRemoverSelector]

    IF (<ARGO.ISITEM>)
        ARGS=<ARGO.BASEID>
        CALL f_ItemRemoverRemover <ARGS>
    ENDIF

[FUNCTION ItemRemover]

    SYSMESSAGE @63,,1 Which Type of Item Would you Like to Delete From This World?
    SRC.TARGETF f_ItemRemoverSelector
(This post was last modified: 10-02-2012 08:41 AM by Barnabus.)
10-02-2012 08:39 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)