EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   is Anyone else having a problem with the givecash command ? (https://www.eqemulator.org/forums/showthread.php?t=18076)

mwmdragon 03-12-2005 08:44 PM

is Anyone else having a problem with the givecash command ?
 
Well the quest i have works.. the hand in, the exp reward... but the givecash command isn't working.

I know how to script so this is just a snippit. this is how you use it right?

quest::givecash(1,1,1,0);

That should give the player one copper one silver and one gold shouldn't it ?

sysadmin 03-13-2005 03:16 AM

try quest::givecash("1","1","1","0");

cofruben 03-13-2005 10:01 AM

it is not a string...if does not work with no ", it's because it is broken. Anyways, I will have a look tomorrow.

Cisyouc 03-13-2005 12:42 PM

i thought it was
Code:

quest::givecash(platinum,gold,silver,copper);
but i havent used that command in a while, i could be wrong.

mwmdragon 03-13-2005 07:02 PM

.
 
No cash is awarded to the quest doer. and no it does not nees Quotes as it is not a string.

Side note:
It's funny how once you have scripted in one language how everyother scripting language looks almost exactly the same. eq. "C / NWNScript / Perl / Etc"

Well anyways.. back to the point. I would really appreciate if you can find out if the command is broken in 6.0dr2.

killspree 03-13-2005 07:49 PM

Just tested it with quotes and it works fine, so it must be messed up.

Cisyouc 03-14-2005 04:02 PM

Quote:

Originally Posted by mwmdragon
Side note:
It's funny how once you have scripted in one language how everyother scripting language looks almost exactly the same. eq. "C / NWNScript / Perl / Etc"

Tis why I always make so many syntax errors.

Still cant get used to using 'eq' for strings.


All times are GMT -4. The time now is 12:02 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.