[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
IceBlinkEngine.com • View topic - Take Gold

Take Gold

Request a script to be made and one of us fine community members will make it for you.

Take Gold

Postby Jagged Appliance » Tue Jun 10, 2014 11:29 am

There's a check gold script and a give gold script but no take gold script. I was hoping to use it for a quest or two, could anyone help me out? I'm assuming I can't just put minus 100 gold into the give gold script. :?:
Jagged Appliance
Backer
Backer
 
Posts: 15
Joined: Thu Sep 19, 2013 9:04 am

Re: Take Gold

Postby slowdive » Tue Jun 10, 2014 8:23 pm

User avatar
slowdive
Site Admin
Site Admin
 
Posts: 3174
Joined: Wed Nov 21, 2012 11:58 pm

Re: Take Gold

Postby Dorateen » Wed Jun 11, 2014 2:23 pm

Thanks for that, slowdive. I also have a couple of places in mind where I would want to take gold from the party. And not as part of a standard business transaction...

This script will come in handy.
User avatar
Dorateen
Backer
Backer
 
Posts: 1002
Joined: Mon Nov 26, 2012 2:08 pm

Re: Take Gold

Postby Jagged Appliance » Wed Jun 11, 2014 2:28 pm

Thanks for the script slowdive, unfortunately I got an error:

Compiling file: "script.cs"

The name 'amount' does not exist in the current context at line 22 column 32
Jagged Appliance
Backer
Backer
 
Posts: 15
Joined: Thu Sep 19, 2013 9:04 am

Re: Take Gold

Postby sinopip » Wed Jun 11, 2014 3:08 pm

User avatar
sinopip
 
Posts: 70
Joined: Fri May 16, 2014 11:58 am

Re: Take Gold

Postby slowdive » Wed Jun 11, 2014 4:19 pm

Ahh, yes. I copied some code from the ScriptFunctions and forgot to change the variable name to "parm1". Use sinopip's version.
User avatar
slowdive
Site Admin
Site Admin
 
Posts: 3174
Joined: Wed Nov 21, 2012 11:58 pm

Re: Take Gold

Postby Jagged Appliance » Wed Jun 11, 2014 5:00 pm

Thanks guys.
Jagged Appliance
Backer
Backer
 
Posts: 15
Joined: Thu Sep 19, 2013 9:04 am


Return to Request a Script

Who is online

Users browsing this forum: No registered users and 1 guest

cron