/* 
 * Script decompiled by jagdecs2 v3.2
 * Decompiler opts:
 * --------------
 * t1LocalAnalyzer:true
 * t2LocalAnalyzer:true
 * beautifier:true
 * --------------
 * Made by mgi125 ;)
 */


void script_9056(int a0) {
	int v3 = 0;
	script_8056(a0, -1, 3);
	switch (script_8925()) {
		case 1:
			if (client_configs['cfg3651'].bitcfg18682 == 0) {
				v3 = 1;
			}
			break;
		case 2:
			if (client_configs['cfg3651'].bitcfg18683 == 0) {
				v3 = 1;
			}
			break;
		case 3:
			if (client_configs['cfg3651'].bitcfg18684 == 0) {
				v3 = 1;
			}
			break;
		case 4:
			if (client_configs['cfg3651'].bitcfg18685 == 0) {
				v3 = 1;
			}
			break;
		case 5:
			if (client_configs['cfg3651'].bitcfg18686 == 0) {
				v3 = 1;
			}
			break;
		case 6:
			if (client_configs['cfg3651'].bitcfg18687 == 0) {
				v3 = 1;
			}
			break;
		case 7:
			if (client_configs['cfg3651'].bitcfg18688 == 0) {
				v3 = 1;
			}
			break;
		case 8:
			if (client_configs['cfg3651'].bitcfg18689 == 0) {
				v3 = 1;
			}
	}
	if (v3 == 0) {
		cs2method_10467(1, a0);
		return;
	}
	object v1 = "";
	int v2 = idx17mapData('i', 'J', 7569, script_8925());
	if (v2 == -1) {
		cs2method_10467(1, a0);
		return;
	}
	object v0 = "There is a new task available from the Duke of Lumbridge:" + "<br>" + "<br>" + idx22mapAttribute(v2, 3418);
	cs2method_10026(98238485, v0);
	return;
}
