Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2019, 08:56 AM
rudeboy88's Avatar
rudeboy88
Sarnak
 
Join Date: Oct 2007
Location: West Freeport
Posts: 46
Default LUA 8-Player Dice Table

Hey all,

It's been a while since I was working on the casino stuff, but I wanted to share a fun one I came up with earlier this year. (Please do test - last I checked this works but you may want to double check! If not, I do have a working version somewhere.)

This is an 8 player dice table, ran with buckets. In other words, it doesn't matter if you zone or LD if you've already placed a bet, this will carry out your placed bets and should you win put said value back in your bucket, or "account". This is to be used in conjunction with the LUA shared banker I posted in this forum. Once you have deposited platinum, you can talk to this NPC to place your bets on a dice number.

note: you will need to run the SQL file at the bottom first on your db's data buckets table.

Code:
--Dice
--Upon Spawning, start timer, loop to empty old seats, bets.
function event_spawn(e)
	eq.set_timer("dice",30000);
	e.self:Shout("Dice is now taking bets!");
	eq.set_data("DRS_1", '0');
	eq.set_data("DRS_2", '0');
	eq.set_data("DRS_3", '0');
	eq.set_data("DRS_4", '0');
	eq.set_data("DRS_5", '0');
	eq.set_data("DRS_6", '0');
	eq.set_data("DRS_7", '0');
	eq.set_data("DRS_8", '0');
	eq.set_data("DRS_T", '1');
end

--Once timer ends -> roll, winnings, empty table loop, reset timer
function event_timer(e)
	if (e.timer == "dice") then
		e.self:Say("Here's the roll!");
		local y1 = math.random(100);
		e.self:Say("The winning number is: " .. y1 .. "!");
		eq.set_data("DRS_T", '1');
		local y2 = 1;
		local y3 = 1;
	--Because calling a single account ID wouldn't be sufficient with 8 players and no dialogue within this function, a check bucket "DRS_C_" is used instead of e.other:AccountID to match account IDs to chairs.
	--Win Loops
		--Seat Count
		while y2 < 9 do
			local y8 = eq.get_data("DRS_C_".. tostring(y2))
			local y9 = eq.get_data("DRS_".. tostring(y2))
				if (tostring(y9) ~= 0) and (tostring(y8) == tostring(y9)) then
		--Table Placement bucket count
					while y3 < 101 do
					--Does the seat contain an account ID?
						--If the Account is "seated" and the seat's bet wasn't 0...
						if (eq.get_data("DRS_" .. tostring(y2) .. "_" .. tostring(y3)) ~= 0) then
							--Did it win?
							if (tostring(y1) == tostring(y3)) then
							local y5 = eq.get_data("DRS_" .. tostring(y2) .. "_" .. tostring(y3));
							local y6 = eq.get_data(tostring(y9) .. "_Casino") 
							local z1 = y5 * 10;
							local y7 = y6 + z1;
							eq.set_data(tostring(y9) .. "_Casino", tostring(y7));
							end
						end
					eq.set_data("DRS_" .. tostring(y2) .. "_" .. tostring(y3), '0');	
					y3 = y3 + 1;
					end
				end
		eq.set_data("DRS_" .. tostring(y2), '0');	
		eq.set_data("DRS_C_" .. tostring(y2), '0');
		y2 = y2 + 1;	
		end
	end
	eq.set_timer("dice",30000);
	e.self:Say("Dice is now taking bets!");
end
--Basic Dialogue
function event_say(e)
--Basic Dialogue
	if (e.message:findi("hail")) then
		e.other:Message(315,"Hail!  Would you like to [" .. eq.say_link("join",false,"join") .. "] us for a round of [" .. eq.say_link("Dice",false,"Dice") .. "]?  If you would like to know the [" .. eq.say_link("play",false,"play") .. "], let me know.  You will need to bank with the Casino banker in order to play!");
	end
	if (e.message:findi("play")) then
			e.other:Message(315, "First deposite money with the Casino Banker.  Next, tell me if you would like a [join] at the table, and then you can place [bets].");

	end
--Bucket seating: DRS_T checks the current seat, DRS_ is the seat.
	if (e.message:findi("join")) then
		f1 = eq.get_data("DRS_T");
		f2 = 1;
		if (eq.get_data("DRS_" .. tostring(f1)) == '0') and (eq.get_data("DRS_T") < '9') then
			eq.set_data("DRS_" .. tostring(f1), tostring(e.other:AccountID()));
			e.other:Message(315,"You have been assigned to seat " .. f1 .. ".  You can now place [" .. eq.say_link("bets",false,"bets") .. "].");
			f3 = f1 + f2;
			eq.set_data("DRS_T", tostring(f3));
		end
		if (eq.get_data("DRS_8") ~= '0') then
			e.self:Say("The table is full.");
		end
	end
--Due to quest dialogue restrictions the numbers are broken into multiple messages and then sent to the player.
	if (e.message:findi("bets")) then
			e.other:Message(315, "first, pick a number.");  
			
			e.other:Message(315, "[" .. eq.say_link("01",false,"01") .. "][" .. eq.say_link("02",false,"02") .. "] [" .. eq.say_link("03",false,"03") .. "][" .. eq.say_link("04",false,"04") .. "][" .. eq.say_link("05",false,"05") .. "][" .. eq.say_link("06",false,"06") .. "][" .. eq.say_link("07",false,"07") .. "][" .. eq.say_link("08",false,"08") .. "][" .. eq.say_link("09",false,"09") .. "][" .. eq.say_link("10",false,"10") .."]  [" .. eq.say_link("11",false,"11") .. "]  [" .. eq.say_link("12",false,"12") .. "] [" .. eq.say_link("13",false,"13") .. "] [" .. eq.say_link("14",false,"14") .. "] [" .. eq.say_link("15",false,"15") .. "] [" .. eq.say_link("16",false,"16") .. "] [" .. eq.say_link("17",false,"17") .. "] [" .. eq.say_link("18",false,"18") .. "] [" .. eq.say_link("19",false,"19") .. "]  [" .. eq.say_link("20",false,"20") .. "]  [" .. eq.say_link("21",false,"21") .. "] [" .. eq.say_link("22",false,"22") .. "] [" .. eq.say_link("23",false,"23") .. "] [" .. eq.say_link("24",false,"24") .. "] [" .. eq.say_link("25",false,"25") .. "]"); 
			
			e.other:Message(315, "[" .. eq.say_link("26",false,"26") .. "] [" .. eq.say_link("27",false,"27") .. "] [" .. eq.say_link("28",false,"28") .. "]  [" .. eq.say_link("29",false,"29") .. "]  [" .. eq.say_link("30",false,"30") .. "] [" .. eq.say_link("31",false,"31") .. "] [" .. eq.say_link("32",false,"32") .. "] [" .. eq.say_link("33",false,"33") .. "] [" .. eq.say_link("34",false,"34") .. "] [" .. eq.say_link("35",false,"35") .. "] [" .. eq.say_link("36",false,"36") .. "] [" .. eq.say_link("37",false,"37") .. "]  [" .. eq.say_link("38",false,"38") .. "]  [" .. eq.say_link("39",false,"39") .. "] [" .. eq.say_link("40",false,"40") .. "] [" .. eq.say_link("41",false,"41") .. "] [" .. eq.say_link("42",false,"42") .. "] [" .. eq.say_link("43",false,"43") .. "] [" .. eq.say_link("44",false,"44") .. "] [" .. eq.say_link("45",false,"45") .. "] [" .. eq.say_link("46",false,"46") .. "]  [" .. eq.say_link("47",false,"47") .. "]  [" .. eq.say_link("48",false,"48") .. "] [" .. eq.say_link("49",false,"49") .. "] [" .. eq.say_link("50",false,"50") .. "]");
			
			e.other:Message(315, "[" .. eq.say_link("51",false,"51") .. "] [" .. eq.say_link("52",false,"52") .. "] [" .. eq.say_link("53",false,"53") .. "] [" .. eq.say_link("54",false,"54") .. "] [" .. eq.say_link("55",false,"55") .. "]  [" .. eq.say_link("56",false,"56") .. "]  [" .. eq.say_link("57",false,"57") .. "] [" .. eq.say_link("58",false,"58") .. "] [" .. eq.say_link("59",false,"59") .. "] [" .. eq.say_link("60",false,"60") .. "] [" .. eq.say_link("61",false,"61") .. "] [" .. eq.say_link("62",false,"62") .. "] [" .. eq.say_link("63",false,"63") .. "] [" .. eq.say_link("64",false,"64") .. "]  [" .. eq.say_link("65",false,"65") .. "]  [" .. eq.say_link("66",false,"66") .. "] [" .. eq.say_link("67",false,"67") .. "] [" .. eq.say_link("68",false,"68") .. "] [" .. eq.say_link("69",false,"69") .. "] [" .. eq.say_link("70",false,"70") .. "] [" .. eq.say_link("71",false,"71") .. "] [" .. eq.say_link("72",false,"72") .. "] [" .. eq.say_link("73",false,"73") .. "]  [" .. eq.say_link("74",false,"74") .. "]  [" .. eq.say_link("75",false,"75") .. "]");
			
			e.other:Message(315, "[" .. eq.say_link("76",false,"76") .. "] [" .. eq.say_link("77",false,"77") .. "] [" .. eq.say_link("78",false,"78") .. "] [" .. eq.say_link("79",false,"79") .. "] [" .. eq.say_link("80",false,"80") .. "] [" .. eq.say_link("81",false,"81") .. "] [" .. eq.say_link("82",false,"82") .. "]  [" .. eq.say_link("83",false,"83") .. "]  [" .. eq.say_link("84",false,"84") .. "] [" .. eq.say_link("85",false,"85") .. "] [" .. eq.say_link("86",false,"86") .. "] [" .. eq.say_link("87",false,"87") .. "] [" .. eq.say_link("88",false,"88") .. "] [" .. eq.say_link("89",false,"89") .. "] [" .. eq.say_link("90",false,"90") .. "] [" .. eq.say_link("91",false,"91") .. "]  [" .. eq.say_link("92",false,"92") .. "]  [" .. eq.say_link("93",false,"93") .. "] [" .. eq.say_link("94",false,"94") .. "] [" .. eq.say_link("95",false,"95") .. "] [" .. eq.say_link("96",false,"96") .. "] [" .. eq.say_link("97",false,"97") .. "] [" .. eq.say_link("98",false,"98") .. "] [" .. eq.say_link("99",false,"99") .. "] [" .. eq.say_link("I00",false,"I00") .. "]");
	end
--If you clicked one of the previous numbers, you will be prompted for a bet, and that number you bet on becomes the variable q.
	if(e.message:findi("01")) then
	q = 01;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("02")) then
	q = 02;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("03")) then
	q = 03;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("04")) then
	q = 04;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("05")) then
	q = 05;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("06")) then
	q = 06;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("07")) then
	q = 07;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("08")) then
	q = 08;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("09")) then
	q = 09;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("10")) then
	q = 10;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("11")) then
	q = 11;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("12")) then
	q = 12;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("13")) then
	q = 13;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("14")) then
	q = 14;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("15")) then
	q = 15;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("16")) then
	q = 16;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("17")) then
	q = 17;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("18")) then
	q = 18;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("19")) then
	q = 19;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("20")) then
	q = 20;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("21")) then
	q = 21;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("22")) then
	q = 22;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("23")) then
	q = 23;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("24")) then
	q = 24;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("25")) then
	q = 25;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("26")) then
	q = 26;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("27")) then
	q = 27;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("28")) then
	q = 28;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("29")) then
	q = 29;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("30")) then
	q = 30;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("31")) then
	q = 31;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("32")) then
	q = 32;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("33")) then
	q = 33;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("34")) then
	q = 34;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("35")) then
	q = 35;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("36")) then
	q = 36;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("37")) then
	q = 37;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("38")) then
	q = 38;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("39")) then
	q = 39;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("40")) then
	q = 40;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("41")) then
	q = 41;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("42")) then
	q = 42;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("43")) then
	q = 43;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("44")) then
	q = 44;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("45")) then
	q = 45;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("46")) then
	q = 46;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("47")) then
	q = 47;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("48")) then
	q = 48;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("49")) then
	q = 49;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("50")) then
	q = 50;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("51")) then
	q = 51;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("52")) then
	q = 52;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("53")) then
	q = 53;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("54")) then
	q = 54;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("55")) then
	q = 55;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("56")) then
	q = 56;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("57")) then
	q = 57;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("58")) then
	q = 58;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("59")) then
	q = 59;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("60")) then
	q = 60;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("61")) then
	q = 61;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("62")) then
	q = 62;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("63")) then
	q = 63;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("64")) then
	q = 64;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("65")) then
	q = 65;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("66")) then
	q = 66;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("67")) then
	q = 67;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("68")) then
	q = 68;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("69")) then
	q = 69;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("70")) then
	q = 70;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("71")) then
	q = 71;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("72")) then
	q = 72;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("73")) then
	q = 73;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("74")) then
	q = 74;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("75")) then
	q = 75;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("76")) then
	q = 76;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("77")) then
	q = 77;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("78")) then
	q = 78;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("79")) then
	q = 79
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("80")) then
	q = 80;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("81")) then
	q = 81;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("82")) then
	q = 82;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("83")) then
	q = 83;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("84")) then
	q = 84;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("85")) then
	q = 85;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("86")) then
	q = 86;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("87")) then
	q = 87;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("88")) then
	q = 88;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("89")) then
	q = 89;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("90")) then
	q = 90;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("91")) then
	q = 91;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("92")) then
	q = 92;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("93")) then
	q = 93;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("94")) then
	q = 94;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("95")) then
	q = 95;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("96")) then
	q = 96;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("97")) then
	q = 97;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("98")) then
	q = 98;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("99")) then
	q = 99;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	elseif(e.message:findi("I00")) then
	q = 100;
	e.other:Message(315, "You have chosen ".. q ..".  Would you like to bet [" .. eq.say_link("fifty",false,"fifty") .. "], [" .. eq.say_link("onehundo",false,"onehundo") .. "], [" .. eq.say_link("fivehundo",false,"fivehundo") .. "], [" .. eq.say_link("onek",false,"onek") .. "], [" .. eq.say_link("fivek",false,"fivek") .. "]");
	end
--Bets: convert the bucket seat back to an accountID, and subtract bet from their casino acc, then add it to seat/number bet.
	if(e.message:findi("fifty")) then
		local b0 = 1;
		local b7 = e.other:AccountID();
		while b0 < 9 do
			local b8 = eq.get_data("DRS_".. tostring(b0));
			if (tostring(b8) == tostring(b7)) then
				local b1 = eq.get_data(e.other:AccountID() .. "_Casino");
				local b2 = 50;
				local b3 = b1 - b2;
				local b4 = e.other:AccountID();
				local b5 = eq.get_data("DRS_".. tostring(b0) .."_".. tostring(q));
				local b6 = b5 + b2;
				eq.set_data("DRS_C_" .. tostring(b0), (tostring(b7)))
				eq.set_data("DRS_".. tostring(b0) .."_".. tostring(q), tostring(b6));
				eq.set_data(e.other:AccountID() .. "_Casino", tostring(b3));
				e.other:Message(315, "Your bet has been accepted.  Current Balance: ".. eq.get_data(e.other:AccountID() .. "_Casino") .. ".");
			end
		b0 = b0 + 1;
		end
	end
	if(e.message:findi("onehundo")) then
		local b0 = 1;
		local b7 = e.other:AccountID();
		while b0 < 9 do
			local b8 = eq.get_data("DRS_".. tostring(b0));
			if (tostring(b8) == tostring(b7)) then
				local b1 = eq.get_data(e.other:AccountID() .. "_Casino");
				local b2 = 100;
				local b3 = b1 - b2;
				local b4 = e.other:AccountID();
				local b5 = eq.get_data("DRS_".. tostring(b0) .."_".. tostring(q));
				local b6 = b5 + b2;
				eq.set_data("DRS_C_" .. tostring(b0), (tostring(b7)))
				eq.set_data("DRS_".. tostring(b0) .."_".. tostring(q), tostring(b6));
				eq.set_data(e.other:AccountID() .. "_Casino", tostring(b3));
				e.other:Message(315, "Your bet has been accepted.  Current Balance: ".. eq.get_data(e.other:AccountID() .. "_Casino") .. ".");
			end
		b0 = b0 + 1;
		end
	end
	if(e.message:findi("fivehundo")) then
		local b0 = 1;
		local b7 = e.other:AccountID();
		while b0 < 9 do
			local b8 = eq.get_data("DRS_".. tostring(b0));
			if (tostring(b8) == tostring(b7)) then
				local b1 = eq.get_data(e.other:AccountID() .. "_Casino");
				local b2 = 500;
				local b3 = b1 - b2;
				local b4 = e.other:AccountID();
				local b5 = eq.get_data("DRS_".. tostring(b0) .."_".. tostring(q));
				local b6 = b5 + b2;
				eq.set_data("DRS_C_" .. tostring(b0), (tostring(b7)))
				eq.set_data("DRS_".. tostring(b0) .."_".. tostring(q), tostring(b6));
				eq.set_data(e.other:AccountID() .. "_Casino", tostring(b3));
				e.other:Message(315, "Your bet has been accepted.  Current Balance: ".. eq.get_data(e.other:AccountID() .. "_Casino") .. ".");
			end
		b0 = b0 + 1;
		end
	end
	if(e.message:findi("onek")) then
		local b0 = 1;
		local b7 = e.other:AccountID();
		while b0 < 9 do
			local b8 = eq.get_data("DRS_".. tostring(b0));
			if (tostring(b8) == tostring(b7)) then
				local b1 = eq.get_data(e.other:AccountID() .. "_Casino");
				local b2 = 1000;
				local b3 = b1 - b2;
				local b4 = e.other:AccountID();
				local b5 = eq.get_data("DRS_".. tostring(b0) .."_".. tostring(q));
				local b6 = b5 + b2;
				eq.set_data("DRS_C_" .. tostring(b0), (tostring(b7)))
				eq.set_data("DRS_".. tostring(b0) .."_".. tostring(q), tostring(b6));
				eq.set_data(e.other:AccountID() .. "_Casino", tostring(b3));
				e.other:Message(315, "Your bet has been accepted.  Current Balance: ".. eq.get_data(e.other:AccountID() .. "_Casino") .. ".");
			end
		b0 = b0 + 1;
		end
	end
	if(e.message:findi("fivek")) then
		local b0 = 1;
		local b7 = e.other:AccountID();
		while b0 < 9 do
			local b8 = eq.get_data("DRS_".. tostring(b0));
			if (tostring(b8) == tostring(b7)) then
				local b1 = eq.get_data(e.other:AccountID() .. "_Casino");
				local b2 = 5000;
				local b3 = b1 - b2;
				local b4 = e.other:AccountID();
				local b5 = eq.get_data("DRS_".. tostring(b0) .."_".. tostring(q));
				local b6 = b5 + b2;
				eq.set_data("DRS_C_" .. tostring(b0), (tostring(b7)))
				eq.set_data("DRS_".. tostring(b0) .."_".. tostring(q), tostring(b6));
				eq.set_data(e.other:AccountID() .. "_Casino", tostring(b3));
				e.other:Message(315, "Your bet has been accepted.  Current Balance: ".. eq.get_data(e.other:AccountID() .. "_Casino") .. ".");
			end
		b0 = b0 + 1;
		end
	end
end
Code:
INSERT INTO `data_buckets` (`key`, `value`) VALUES
('DRS_1_1', 0),
('DRS_1_2', 0),
('DRS_1_3', 0),
('DRS_1_4', 0),
('DRS_1_5', 0),
('DRS_1_6', 0),
('DRS_1_7', 0),
('DRS_1_8', 0),
('DRS_1_9', 0),
('DRS_1_10', 0),
('DRS_1_11', 0),
('DRS_1_12', 0),
('DRS_1_13', 0),
('DRS_1_14', 0),
('DRS_1_15', 0),
('DRS_1_16', 0),
('DRS_1_17', 0),
('DRS_1_18', 0),
('DRS_1_19', 0),
('DRS_1_20', 0),
('DRS_1_21', 0),
('DRS_1_22', 0),
('DRS_1_23', 0),
('DRS_1_24', 0),
('DRS_1_25', 0),
('DRS_1_26', 0),
('DRS_1_27', 0),
('DRS_1_28', 0),
('DRS_1_29', 0),
('DRS_1_30', 0),
('DRS_1_31', 0),
('DRS_1_32', 0),
('DRS_1_33', 0),
('DRS_1_34', 0),
('DRS_1_35', 0),
('DRS_1_36', 0),
('DRS_1_37', 0),
('DRS_1_38', 0),
('DRS_1_39', 0),
('DRS_1_40', 0),
('DRS_1_41', 0),
('DRS_1_42', 0),
('DRS_1_43', 0),
('DRS_1_44', 0),
('DRS_1_45', 0),
('DRS_1_46', 0),
('DRS_1_47', 0),
('DRS_1_48', 0),
('DRS_1_49', 0),
('DRS_1_50', 0),
('DRS_1_51', 0),
('DRS_1_52', 0),
('DRS_1_53', 0),
('DRS_1_54', 0),
('DRS_1_55', 0),
('DRS_1_56', 0),
('DRS_1_57', 0),
('DRS_1_58', 0),
('DRS_1_59', 0),
('DRS_1_60', 0),
('DRS_1_61', 0),
('DRS_1_62', 0),
('DRS_1_63', 0),
('DRS_1_64', 0),
('DRS_1_65', 0),
('DRS_1_66', 0),
('DRS_1_67', 0),
('DRS_1_68', 0),
('DRS_1_69', 0),
('DRS_1_70', 0),
('DRS_1_71', 0),
('DRS_1_72', 0),
('DRS_1_73', 0),
('DRS_1_74', 0),
('DRS_1_75', 0),
('DRS_1_76', 0),
('DRS_1_77', 0),
('DRS_1_78', 0),
('DRS_1_79', 0),
('DRS_1_80', 0),
('DRS_1_81', 0),
('DRS_1_82', 0),
('DRS_1_83', 0),
('DRS_1_84', 0),
('DRS_1_85', 0),
('DRS_1_86', 0),
('DRS_1_87', 0),
('DRS_1_88', 0),
('DRS_1_89', 0),
('DRS_1_90', 0),
('DRS_1_91', 0),
('DRS_1_92', 0),
('DRS_1_93', 0),
('DRS_1_94', 0),
('DRS_1_95', 0),
('DRS_1_96', 0),
('DRS_1_97', 0),
('DRS_1_98', 0),
('DRS_1_99', 0),
('DRS_1_100', 0),

('DRS_2_1', 0),
('DRS_2_2', 0),
('DRS_2_3', 0),
('DRS_2_4', 0),
('DRS_2_5', 0),
('DRS_2_6', 0),
('DRS_2_7', 0),
('DRS_2_8', 0),
('DRS_2_9', 0),
('DRS_2_10', 0),
('DRS_2_11', 0),
('DRS_2_12', 0),
('DRS_2_13', 0),
('DRS_2_14', 0),
('DRS_2_15', 0),
('DRS_2_16', 0),
('DRS_2_17', 0),
('DRS_2_18', 0),
('DRS_2_19', 0),
('DRS_2_20', 0),
('DRS_2_21', 0),
('DRS_2_22', 0),
('DRS_2_23', 0),
('DRS_2_24', 0),
('DRS_2_25', 0),
('DRS_2_26', 0),
('DRS_2_27', 0),
('DRS_2_28', 0),
('DRS_2_29', 0),
('DRS_2_30', 0),
('DRS_2_31', 0),
('DRS_2_32', 0),
('DRS_2_33', 0),
('DRS_2_34', 0),
('DRS_2_35', 0),
('DRS_2_36', 0),
('DRS_2_37', 0),
('DRS_2_38', 0),
('DRS_2_39', 0),
('DRS_2_40', 0),
('DRS_2_41', 0),
('DRS_2_42', 0),
('DRS_2_43', 0),
('DRS_2_44', 0),
('DRS_2_45', 0),
('DRS_2_46', 0),
('DRS_2_47', 0),
('DRS_2_48', 0),
('DRS_2_49', 0),
('DRS_2_50', 0),
('DRS_2_51', 0),
('DRS_2_52', 0),
('DRS_2_53', 0),
('DRS_2_54', 0),
('DRS_2_55', 0),
('DRS_2_56', 0),
('DRS_2_57', 0),
('DRS_2_58', 0),
('DRS_2_59', 0),
('DRS_2_60', 0),
('DRS_2_61', 0),
('DRS_2_62', 0),
('DRS_2_63', 0),
('DRS_2_64', 0),
('DRS_2_65', 0),
('DRS_2_66', 0),
('DRS_2_67', 0),
('DRS_2_68', 0),
('DRS_2_69', 0),
('DRS_2_70', 0),
('DRS_2_71', 0),
('DRS_2_72', 0),
('DRS_2_73', 0),
('DRS_2_74', 0),
('DRS_2_75', 0),
('DRS_2_76', 0),
('DRS_2_77', 0),
('DRS_2_78', 0),
('DRS_2_79', 0),
('DRS_2_80', 0),
('DRS_2_81', 0),
('DRS_2_82', 0),
('DRS_2_83', 0),
('DRS_2_84', 0),
('DRS_2_85', 0),
('DRS_2_86', 0),
('DRS_2_87', 0),
('DRS_2_88', 0),
('DRS_2_89', 0),
('DRS_2_90', 0),
('DRS_2_91', 0),
('DRS_2_92', 0),
('DRS_2_93', 0),
('DRS_2_94', 0),
('DRS_2_95', 0),
('DRS_2_96', 0),
('DRS_2_97', 0),
('DRS_2_98', 0),
('DRS_2_99', 0),
('DRS_2_100', 0),

('DRS_3_1', 0),
('DRS_3_2', 0),
('DRS_3_3', 0),
('DRS_3_4', 0),
('DRS_3_5', 0),
('DRS_3_6', 0),
('DRS_3_7', 0),
('DRS_3_8', 0),
('DRS_3_9', 0),
('DRS_3_10', 0),
('DRS_3_11', 0),
('DRS_3_12', 0),
('DRS_3_13', 0),
('DRS_3_14', 0),
('DRS_3_15', 0),
('DRS_3_16', 0),
('DRS_3_17', 0),
('DRS_3_18', 0),
('DRS_3_19', 0),
('DRS_3_20', 0),
('DRS_3_21', 0),
('DRS_3_22', 0),
('DRS_3_23', 0),
('DRS_3_24', 0),
('DRS_3_25', 0),
('DRS_3_26', 0),
('DRS_3_27', 0),
('DRS_3_28', 0),
('DRS_3_29', 0),
('DRS_3_30', 0),
('DRS_3_31', 0),
('DRS_3_32', 0),
('DRS_3_33', 0),
('DRS_3_34', 0),
('DRS_3_35', 0),
('DRS_3_36', 0),
('DRS_3_37', 0),
('DRS_3_38', 0),
('DRS_3_39', 0),
('DRS_3_40', 0),
('DRS_3_41', 0),
('DRS_3_42', 0),
('DRS_3_43', 0),
('DRS_3_44', 0),
('DRS_3_45', 0),
('DRS_3_46', 0),
('DRS_3_47', 0),
('DRS_3_48', 0),
('DRS_3_49', 0),
('DRS_3_50', 0),
('DRS_3_51', 0),
('DRS_3_52', 0),
('DRS_3_53', 0),
('DRS_3_54', 0),
('DRS_3_55', 0),
('DRS_3_56', 0),
('DRS_3_57', 0),
('DRS_3_58', 0),
('DRS_3_59', 0),
('DRS_3_60', 0),
('DRS_3_61', 0),
('DRS_3_62', 0),
('DRS_3_63', 0),
('DRS_3_64', 0),
('DRS_3_65', 0),
('DRS_3_66', 0),
('DRS_3_67', 0),
('DRS_3_68', 0),
('DRS_3_69', 0),
('DRS_3_70', 0),
('DRS_3_71', 0),
('DRS_3_72', 0),
('DRS_3_73', 0),
('DRS_3_74', 0),
('DRS_3_75', 0),
('DRS_3_76', 0),
('DRS_3_77', 0),
('DRS_3_78', 0),
('DRS_3_79', 0),
('DRS_3_80', 0),
('DRS_3_81', 0),
('DRS_3_82', 0),
('DRS_3_83', 0),
('DRS_3_84', 0),
('DRS_3_85', 0),
('DRS_3_86', 0),
('DRS_3_87', 0),
('DRS_3_88', 0),
('DRS_3_89', 0),
('DRS_3_90', 0),
('DRS_3_91', 0),
('DRS_3_92', 0),
('DRS_3_93', 0),
('DRS_3_94', 0),
('DRS_3_95', 0),
('DRS_3_96', 0),
('DRS_3_97', 0),
('DRS_3_98', 0),
('DRS_3_99', 0),
('DRS_3_100', 0),

('DRS_4_1', 0),
('DRS_4_2', 0),
('DRS_4_3', 0),
('DRS_4_4', 0),
('DRS_4_5', 0),
('DRS_4_6', 0),
('DRS_4_7', 0),
('DRS_4_8', 0),
('DRS_4_9', 0),
('DRS_4_10', 0),
('DRS_4_11', 0),
('DRS_4_12', 0),
('DRS_4_13', 0),
('DRS_4_14', 0),
('DRS_4_15', 0),
('DRS_4_16', 0),
('DRS_4_17', 0),
('DRS_4_18', 0),
('DRS_4_19', 0),
('DRS_4_20', 0),
('DRS_4_21', 0),
('DRS_4_22', 0),
('DRS_4_23', 0),
('DRS_4_24', 0),
('DRS_4_25', 0),
('DRS_4_26', 0),
('DRS_4_27', 0),
('DRS_4_28', 0),
('DRS_4_29', 0),
('DRS_4_30', 0),
('DRS_4_31', 0),
('DRS_4_32', 0),
('DRS_4_33', 0),
('DRS_4_34', 0),
('DRS_4_35', 0),
('DRS_4_36', 0),
('DRS_4_37', 0),
('DRS_4_38', 0),
('DRS_4_39', 0),
('DRS_4_40', 0),
('DRS_4_41', 0),
('DRS_4_42', 0),
('DRS_4_43', 0),
('DRS_4_44', 0),
('DRS_4_45', 0),
('DRS_4_46', 0),
('DRS_4_47', 0),
('DRS_4_48', 0),
('DRS_4_49', 0),
('DRS_4_50', 0),
('DRS_4_51', 0),
('DRS_4_52', 0),
('DRS_4_53', 0),
('DRS_4_54', 0),
('DRS_4_55', 0),
('DRS_4_56', 0),
('DRS_4_57', 0),
('DRS_4_58', 0),
('DRS_4_59', 0),
('DRS_4_60', 0),
('DRS_4_61', 0),
('DRS_4_62', 0),
('DRS_4_63', 0),
('DRS_4_64', 0),
('DRS_4_65', 0),
('DRS_4_66', 0),
('DRS_4_67', 0),
('DRS_4_68', 0),
('DRS_4_69', 0),
('DRS_4_70', 0),
('DRS_4_71', 0),
('DRS_4_72', 0),
('DRS_4_73', 0),
('DRS_4_74', 0),
('DRS_4_75', 0),
('DRS_4_76', 0),
('DRS_4_77', 0),
('DRS_4_78', 0),
('DRS_4_79', 0),
('DRS_4_80', 0),
('DRS_4_81', 0),
('DRS_4_82', 0),
('DRS_4_83', 0),
('DRS_4_84', 0),
('DRS_4_85', 0),
('DRS_4_86', 0),
('DRS_4_87', 0),
('DRS_4_88', 0),
('DRS_4_89', 0),
('DRS_4_90', 0),
('DRS_4_91', 0),
('DRS_4_92', 0),
('DRS_4_93', 0),
('DRS_4_94', 0),
('DRS_4_95', 0),
('DRS_4_96', 0),
('DRS_4_97', 0),
('DRS_4_98', 0),
('DRS_4_99', 0),
('DRS_4_100', 0),

('DRS_5_1', 0),
('DRS_5_2', 0),
('DRS_5_3', 0),
('DRS_5_4', 0),
('DRS_5_5', 0),
('DRS_5_6', 0),
('DRS_5_7', 0),
('DRS_5_8', 0),
('DRS_5_9', 0),
('DRS_5_10', 0),
('DRS_5_11', 0),
('DRS_5_12', 0),
('DRS_5_13', 0),
('DRS_5_14', 0),
('DRS_5_15', 0),
('DRS_5_16', 0),
('DRS_5_17', 0),
('DRS_5_18', 0),
('DRS_5_19', 0),
('DRS_5_20', 0),
('DRS_5_21', 0),
('DRS_5_22', 0),
('DRS_5_23', 0),
('DRS_5_24', 0),
('DRS_5_25', 0),
('DRS_5_26', 0),
('DRS_5_27', 0),
('DRS_5_28', 0),
('DRS_5_29', 0),
('DRS_5_30', 0),
('DRS_5_31', 0),
('DRS_5_32', 0),
('DRS_5_33', 0),
('DRS_5_34', 0),
('DRS_5_35', 0),
('DRS_5_36', 0),
('DRS_5_37', 0),
('DRS_5_38', 0),
('DRS_5_39', 0),
('DRS_5_40', 0),
('DRS_5_41', 0),
('DRS_5_42', 0),
('DRS_5_43', 0),
('DRS_5_44', 0),
('DRS_5_45', 0),
('DRS_5_46', 0),
('DRS_5_47', 0),
('DRS_5_48', 0),
('DRS_5_49', 0),
('DRS_5_50', 0),
('DRS_5_51', 0),
('DRS_5_52', 0),
('DRS_5_53', 0),
('DRS_5_54', 0),
('DRS_5_55', 0),
('DRS_5_56', 0),
('DRS_5_57', 0),
('DRS_5_58', 0),
('DRS_5_59', 0),
('DRS_5_60', 0),
('DRS_5_61', 0),
('DRS_5_62', 0),
('DRS_5_63', 0),
('DRS_5_64', 0),
('DRS_5_65', 0),
('DRS_5_66', 0),
('DRS_5_67', 0),
('DRS_5_68', 0),
('DRS_5_69', 0),
('DRS_5_70', 0),
('DRS_5_71', 0),
('DRS_5_72', 0),
('DRS_5_73', 0),
('DRS_5_74', 0),
('DRS_5_75', 0),
('DRS_5_76', 0),
('DRS_5_77', 0),
('DRS_5_78', 0),
('DRS_5_79', 0),
('DRS_5_80', 0),
('DRS_5_81', 0),
('DRS_5_82', 0),
('DRS_5_83', 0),
('DRS_5_84', 0),
('DRS_5_85', 0),
('DRS_5_86', 0),
('DRS_5_87', 0),
('DRS_5_88', 0),
('DRS_5_89', 0),
('DRS_5_90', 0),
('DRS_5_91', 0),
('DRS_5_92', 0),
('DRS_5_93', 0),
('DRS_5_94', 0),
('DRS_5_95', 0),
('DRS_5_96', 0),
('DRS_5_97', 0),
('DRS_5_98', 0),
('DRS_5_99', 0),
('DRS_5_100', 0),

('DRS_6_1', 0),
('DRS_6_2', 0),
('DRS_6_3', 0),
('DRS_6_4', 0),
('DRS_6_5', 0),
('DRS_6_6', 0),
('DRS_6_7', 0),
('DRS_6_8', 0),
('DRS_6_9', 0),
('DRS_6_10', 0),
('DRS_6_11', 0),
('DRS_6_12', 0),
('DRS_6_13', 0),
('DRS_6_14', 0),
('DRS_6_15', 0),
('DRS_6_16', 0),
('DRS_6_17', 0),
('DRS_6_18', 0),
('DRS_6_19', 0),
('DRS_6_20', 0),
('DRS_6_21', 0),
('DRS_6_22', 0),
('DRS_6_23', 0),
('DRS_6_24', 0),
('DRS_6_25', 0),
('DRS_6_26', 0),
('DRS_6_27', 0),
('DRS_6_28', 0),
('DRS_6_29', 0),
('DRS_6_30', 0),
('DRS_6_31', 0),
('DRS_6_32', 0),
('DRS_6_33', 0),
('DRS_6_34', 0),
('DRS_6_35', 0),
('DRS_6_36', 0),
('DRS_6_37', 0),
('DRS_6_38', 0),
('DRS_6_39', 0),
('DRS_6_40', 0),
('DRS_6_41', 0),
('DRS_6_42', 0),
('DRS_6_43', 0),
('DRS_6_44', 0),
('DRS_6_45', 0),
('DRS_6_46', 0),
('DRS_6_47', 0),
('DRS_6_48', 0),
('DRS_6_49', 0),
('DRS_6_50', 0),
('DRS_6_51', 0),
('DRS_6_52', 0),
('DRS_6_53', 0),
('DRS_6_54', 0),
('DRS_6_55', 0),
('DRS_6_56', 0),
('DRS_6_57', 0),
('DRS_6_58', 0),
('DRS_6_59', 0),
('DRS_6_60', 0),
('DRS_6_61', 0),
('DRS_6_62', 0),
('DRS_6_63', 0),
('DRS_6_64', 0),
('DRS_6_65', 0),
('DRS_6_66', 0),
('DRS_6_67', 0),
('DRS_6_68', 0),
('DRS_6_69', 0),
('DRS_6_70', 0),
('DRS_6_71', 0),
('DRS_6_72', 0),
('DRS_6_73', 0),
('DRS_6_74', 0),
('DRS_6_75', 0),
('DRS_6_76', 0),
('DRS_6_77', 0),
('DRS_6_78', 0),
('DRS_6_79', 0),
('DRS_6_80', 0),
('DRS_6_81', 0),
('DRS_6_82', 0),
('DRS_6_83', 0),
('DRS_6_84', 0),
('DRS_6_85', 0),
('DRS_6_86', 0),
('DRS_6_87', 0),
('DRS_6_88', 0),
('DRS_6_89', 0),
('DRS_6_90', 0),
('DRS_6_91', 0),
('DRS_6_92', 0),
('DRS_6_93', 0),
('DRS_6_94', 0),
('DRS_6_95', 0),
('DRS_6_96', 0),
('DRS_6_97', 0),
('DRS_6_98', 0),
('DRS_6_99', 0),
('DRS_6_100', 0),

('DRS_7_1', 0),
('DRS_7_2', 0),
('DRS_7_3', 0),
('DRS_7_4', 0),
('DRS_7_5', 0),
('DRS_7_6', 0),
('DRS_7_7', 0),
('DRS_7_8', 0),
('DRS_7_9', 0),
('DRS_7_10', 0),
('DRS_7_11', 0),
('DRS_7_12', 0),
('DRS_7_13', 0),
('DRS_7_14', 0),
('DRS_7_15', 0),
('DRS_7_16', 0),
('DRS_7_17', 0),
('DRS_7_18', 0),
('DRS_7_19', 0),
('DRS_7_20', 0),
('DRS_7_21', 0),
('DRS_7_22', 0),
('DRS_7_23', 0),
('DRS_7_24', 0),
('DRS_7_25', 0),
('DRS_7_26', 0),
('DRS_7_27', 0),
('DRS_7_28', 0),
('DRS_7_29', 0),
('DRS_7_30', 0),
('DRS_7_31', 0),
('DRS_7_32', 0),
('DRS_7_33', 0),
('DRS_7_34', 0),
('DRS_7_35', 0),
('DRS_7_36', 0),
('DRS_7_37', 0),
('DRS_7_38', 0),
('DRS_7_39', 0),
('DRS_7_40', 0),
('DRS_7_41', 0),
('DRS_7_42', 0),
('DRS_7_43', 0),
('DRS_7_44', 0),
('DRS_7_45', 0),
('DRS_7_46', 0),
('DRS_7_47', 0),
('DRS_7_48', 0),
('DRS_7_49', 0),
('DRS_7_50', 0),
('DRS_7_51', 0),
('DRS_7_52', 0),
('DRS_7_53', 0),
('DRS_7_54', 0),
('DRS_7_55', 0),
('DRS_7_56', 0),
('DRS_7_57', 0),
('DRS_7_58', 0),
('DRS_7_59', 0),
('DRS_7_60', 0),
('DRS_7_61', 0),
('DRS_7_62', 0),
('DRS_7_63', 0),
('DRS_7_64', 0),
('DRS_7_65', 0),
('DRS_7_66', 0),
('DRS_7_67', 0),
('DRS_7_68', 0),
('DRS_7_69', 0),
('DRS_7_70', 0),
('DRS_7_71', 0),
('DRS_7_72', 0),
('DRS_7_73', 0),
('DRS_7_74', 0),
('DRS_7_75', 0),
('DRS_7_76', 0),
('DRS_7_77', 0),
('DRS_7_78', 0),
('DRS_7_79', 0),
('DRS_7_80', 0),
('DRS_7_81', 0),
('DRS_7_82', 0),
('DRS_7_83', 0),
('DRS_7_84', 0),
('DRS_7_85', 0),
('DRS_7_86', 0),
('DRS_7_87', 0),
('DRS_7_88', 0),
('DRS_7_89', 0),
('DRS_7_90', 0),
('DRS_7_91', 0),
('DRS_7_92', 0),
('DRS_7_93', 0),
('DRS_7_94', 0),
('DRS_7_95', 0),
('DRS_7_96', 0),
('DRS_7_97', 0),
('DRS_7_98', 0),
('DRS_7_99', 0),
('DRS_7_100', 0),

('DRS_8_1', 0),
('DRS_8_2', 0),
('DRS_8_3', 0),
('DRS_8_4', 0),
('DRS_8_5', 0),
('DRS_8_6', 0),
('DRS_8_7', 0),
('DRS_8_8', 0),
('DRS_8_9', 0),
('DRS_8_10', 0),
('DRS_8_11', 0),
('DRS_8_12', 0),
('DRS_8_13', 0),
('DRS_8_14', 0),
('DRS_8_15', 0),
('DRS_8_16', 0),
('DRS_8_17', 0),
('DRS_8_18', 0),
('DRS_8_19', 0),
('DRS_8_20', 0),
('DRS_8_21', 0),
('DRS_8_22', 0),
('DRS_8_23', 0),
('DRS_8_24', 0),
('DRS_8_25', 0),
('DRS_8_26', 0),
('DRS_8_27', 0),
('DRS_8_28', 0),
('DRS_8_29', 0),
('DRS_8_30', 0),
('DRS_8_31', 0),
('DRS_8_32', 0),
('DRS_8_33', 0),
('DRS_8_34', 0),
('DRS_8_35', 0),
('DRS_8_36', 0),
('DRS_8_37', 0),
('DRS_8_38', 0),
('DRS_8_39', 0),
('DRS_8_40', 0),
('DRS_8_41', 0),
('DRS_8_42', 0),
('DRS_8_43', 0),
('DRS_8_44', 0),
('DRS_8_45', 0),
('DRS_8_46', 0),
('DRS_8_47', 0),
('DRS_8_48', 0),
('DRS_8_49', 0),
('DRS_8_50', 0),
('DRS_8_51', 0),
('DRS_8_52', 0),
('DRS_8_53', 0),
('DRS_8_54', 0),
('DRS_8_55', 0),
('DRS_8_56', 0),
('DRS_8_57', 0),
('DRS_8_58', 0),
('DRS_8_59', 0),
('DRS_8_60', 0),
('DRS_8_61', 0),
('DRS_8_62', 0),
('DRS_8_63', 0),
('DRS_8_64', 0),
('DRS_8_65', 0),
('DRS_8_66', 0),
('DRS_8_67', 0),
('DRS_8_68', 0),
('DRS_8_69', 0),
('DRS_8_70', 0),
('DRS_8_71', 0),
('DRS_8_72', 0),
('DRS_8_73', 0),
('DRS_8_74', 0),
('DRS_8_75', 0),
('DRS_8_76', 0),
('DRS_8_77', 0),
('DRS_8_78', 0),
('DRS_8_79', 0),
('DRS_8_80', 0),
('DRS_8_81', 0),
('DRS_8_82', 0),
('DRS_8_83', 0),
('DRS_8_84', 0),
('DRS_8_85', 0),
('DRS_8_86', 0),
('DRS_8_87', 0),
('DRS_8_88', 0),
('DRS_8_89', 0),
('DRS_8_90', 0),
('DRS_8_91', 0),
('DRS_8_92', 0),
('DRS_8_93', 0),
('DRS_8_94', 0),
('DRS_8_95', 0),
('DRS_8_96', 0),
('DRS_8_97', 0),
('DRS_8_98', 0),
('DRS_8_99', 0),
('DRS_8_100', 0),

('DRS_1', 0),
('DRS_2', 0),
('DRS_3', 0),
('DRS_4', 0),
('DRS_5', 0),
('DRS_6', 0),
('DRS_7', 0),
('DRS_8', 0),

('DRS_T', 0),

('DRS_C_1' 0),
('DRS_C_2' 0),
('DRS_C_3' 0),
('DRS_C_4' 0),
('DRS_C_5' 0),
('DRS_C_6' 0),
('DRS_C_7' 0),
('DRS_C_8' 0);
__________________
Discord: 1augher | Dev, Darkonites
Reply With Quote
  #2  
Old 09-24-2019, 09:39 AM
rudeboy88's Avatar
rudeboy88
Sarnak
 
Join Date: Oct 2007
Location: West Freeport
Posts: 46
Default

another sidenote: may need a clause for if you don't have enough money in your bucket account. iirc the bucket number can go negative.

https://imgur.com/TFMqnSd
__________________
Discord: 1augher | Dev, Darkonites
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:09 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3