Yes something like that. Make sure your variable name (@noitem or .@amt ?) is the same in all places. To give them 2x the points, just do @noitem * 2
bFish:
next;
mes "Checking inventory...";
set .@amt,countitem(6096);
if (.@amt) {
if ( query_sql("SELECT `score` FROM `fishladder` WHERE `char_id`="+getcharid(0), .@score) ) {
// row exists, update it
query_sql "UPDATE `fishladder` SET `score` = `score` + "+ .@amt*2 +",`char_id` = "+getcharid(0);
} else {
// else, insert new row
query_sql "INSERT INTO fishladder (char_id,`name`,score) VALUES ("+getcharid(0)+",'"+escape_sql(strcharinfo(0))+"',"+ .@amt*2 +")";
}
delitem 6096,.@amt;
next;
mes "[Fishing Board]";
mes "Fish have been retreived and score updated.";
} else {
mes "[Fishing Board]";
mes "You have no fish to turn in.";
}
close;