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
Gold -> Bag -> Bank
Author Message
Llirik
Journeyman
*

Posts: 116
Likes Given: 0
Likes Received: 10 in 8 posts
Joined: Feb 2015
Reputation: 0

UO Forum

Post: #11
RE: Gold -> Bag -> Bank
(08-14-2015 01:26 AM)Kanibal Wrote:  
Code:
[FUNCTION f_add_gold]
serv.newitem i_bag, 1, <src.findlayer.29.uid>
var.newbag = <new.uid>

if (<argn1> > 65000)
  var.tmp=<argn1>/65000
    for i 1 <eval <var.tmp>>
      serv.newitem i_gold, 65000, <var.newbag>
    endfor
    serv.newitem i_gold, (<argn1>-(<eval <var.tmp>>*65000)), <var.newbag>
else
   serv.newitem i_gold, <argn1>, <var.newbag>
endif
src.update
use
.f_add_gold 1000000

Smile
02-16-2016 09:22 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Gold -> Bag -> Bank - Llirik - 08-13-2015, 06:16 PM
RE: Gold -> Bag -> Bank - evening - 08-13-2015, 07:10 PM
RE: Gold -> Bag -> Bank - Kanibal - 08-14-2015, 01:26 AM
RE: Gold -> Bag -> Bank - evening - 08-14-2015, 03:36 AM
RE: Gold -> Bag -> Bank - Kanibal - 08-14-2015, 04:31 AM
RE: Gold -> Bag -> Bank - evening - 08-14-2015, 05:15 AM
RE: Gold -> Bag -> Bank - Kanibal - 08-18-2015, 04:42 AM
RE: Gold -> Bag -> Bank - Llirik - 03-01-2016, 10:38 AM
RE: Gold -> Bag -> Bank - Llirik - 02-16-2016 09:22 AM
RE: Gold -> Bag -> Bank - XuN - 08-14-2015, 02:48 AM
RE: Gold -> Bag -> Bank - Coruja - 08-14-2015, 03:00 AM
RE: Gold -> Bag -> Bank - Llirik - 08-14-2015, 09:09 PM
RE: Gold -> Bag -> Bank - Khaos - 03-01-2016, 12:13 PM
RE: Gold -> Bag -> Bank - Llirik - 03-01-2016, 12:23 PM
RE: Gold -> Bag -> Bank - Khaos - 03-01-2016, 12:26 PM
RE: Gold -> Bag -> Bank - Llirik - 03-01-2016, 12:28 PM
RE: Gold -> Bag -> Bank - Khaos - 03-01-2016, 12:31 PM
RE: Gold -> Bag -> Bank - Llirik - 03-01-2016, 12:54 PM
RE: Gold -> Bag -> Bank - Khaos - 03-01-2016, 02:56 PM
RE: Gold -> Bag -> Bank - pointhz - 03-01-2016, 06:44 PM
RE: Gold -> Bag -> Bank - Khaos - 03-02-2016, 12:07 AM
RE: Gold -> Bag -> Bank - Llirik - 03-02-2016, 01:22 AM
RE: Gold -> Bag -> Bank - Llirik - 11-12-2016, 09:04 PM
RE: Gold -> Bag -> Bank - Khaos - 03-02-2016, 04:15 AM
RE: Gold -> Bag -> Bank - pointhz - 03-02-2016, 04:36 AM
RE: Gold -> Bag -> Bank - Khaos - 03-02-2016, 07:10 AM
RE: Gold -> Bag -> Bank - Khaos - 03-18-2016, 07:53 PM
RE: Gold -> Bag -> Bank - Llirik - 03-19-2016, 07:35 PM
RE: Gold -> Bag -> Bank - Khaos - 03-20-2016, 05:11 AM
RE: Gold -> Bag -> Bank - Llirik - 03-20-2016, 07:42 PM
RE: Gold -> Bag -> Bank - pointhz - 03-23-2016, 08:53 AM
RE: Gold -> Bag -> Bank - Khaos - 03-25-2016, 04:15 PM
RE: Gold -> Bag -> Bank - Llirik - 04-17-2016, 04:36 AM
RE: Gold -> Bag -> Bank - XuN - 04-17-2016, 10:06 PM
RE: Gold -> Bag -> Bank - Llirik - 04-18-2016, 02:59 AM
Gold -> Bag -> Bank - roberpot - 04-18-2016, 03:51 AM

Forum Jump:


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