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


void script_5133() {
	int v2 = 0;
	int v0 = script_4293();
	if (script_5131() == 1) {
		cs2method_10467(1, 71827852);
		cs2method_10467(1, 71827860);
		cs2method_10467(1, 71827868);
		cs2method_10467(1, 71827876);
		cs2method_10467(1, 71827884);
		cs2method_10467(1, 71827892);
		cs2method_10467(1, 71827900);
		cs2method_10467(1, 71827908);
		cs2method_10467(1, 71827916);
		cs2method_10467(1, 71827924);
		cs2method_10467(1, 71827932);
		switch (cs2_configs['cfg1569']) {
			case 0:
				cs2method_10467(0, 71827852);
				if (v0 >= 100) {
					v2 = 1;
				}
				break;
			case 1:
				cs2method_10467(0, 71827860);
				if (v0 >= 100) {
					v2 = 1;
				}
				break;
			case 2:
				cs2method_10467(0, 71827868);
				if (v0 >= 100) {
					v2 = 1;
				}
				break;
			case 3:
				cs2method_10467(0, 71827876);
				if (v0 >= 100) {
					v2 = 1;
				}
				break;
			case 4:
				cs2method_10467(0, 71827884);
				if (v0 >= 100) {
					v2 = 1;
				}
				break;
			case 5:
				cs2method_10467(0, 71827892);
				if (v0 >= 100) {
					v2 = 1;
				}
				break;
			case 100:
				cs2method_10467(0, 71827900);
				if (v0 > cs2_configs['cfg1569']) {
					v2 = 1;
				}
				break;
			case 101:
				cs2method_10467(0, 71827908);
				if (v0 > cs2_configs['cfg1569']) {
					v2 = 1;
				}
				break;
			case 102:
				cs2method_10467(0, 71827916);
				if (v0 > cs2_configs['cfg1569']) {
					v2 = 1;
				}
				break;
			case 103:
				cs2method_10467(0, 71827924);
				if (v0 > cs2_configs['cfg1569']) {
					v2 = 1;
				}
				break;
			case 125:
				cs2method_10467(0, 71827932);
				if (v0 > cs2_configs['cfg1569']) {
					v2 = 1;
				}
				break;
			case 126:
				v2 = 0;
				break;
			case 127:
				v2 = 0;
				break;
			default:
				if (v0 >= 100) {
					v2 = 1;
				}
		}
	}
	object v1 = "";
	cs2method_10467(0, 71828019);
	cs2method_10467(0, 71828031);
	cs2method_10467(0, 71828064);
	cs2method_10467(0, 71828075);
	cs2method_10467(0, 71827944);
	cs2method_10467(0, 71828053);
	cs2method_10467(0, 71828042);
	cs2method_10467(0, 71828086);
	cs2method_10467(0, 71828008);
	cs2method_10467(0, 71827995);
	cs2method_10467(0, 71828203);
	cs2method_10467(0, 71828190);
	cs2method_10467(0, 71828098);
	cs2method_10467(0, 71828109);
	cs2method_10467(0, 71828121);
	cs2method_10467(0, 71828134);
	cs2method_10467(0, 71828146);
	cs2method_10467(0, 71828244);
	cs2method_10467(0, 71828255);
	cs2method_10467(0, 71828266);
	cs2method_10467(0, 71828158);
	cs2method_10467(0, 71828233);
	cs2method_10467(0, 71828299);
	cs2method_10467(0, 71828277);
	cs2method_10467(0, 71828288);
	cs2method_10467(0, 71828170);
	cs2method_10467(0, 71828310);
	cs2method_10467(0, 71828328);
	if (v2 == 1) {
		cs2method_10467(1, 71828019);
		cs2method_10467(1, 71828031);
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may upgrade the citadel.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,608));
		} else if (script_5145(v0) == 0) {
			object v3 = "You may only allow upgrades to the citadel if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,608));
		} else {
			cs2method_10467(1, 71828064);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may downgrade the citadel.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,619));
		} else if (script_5147(v0) == 0) {
			object v3 = "You may only allow downgrades to the citadel if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,619));
		} else {
			cs2method_10467(1, 71828075);
		}
		if (script_6012(v0) == 0) {
			object v3 = "You may only allow recruiting if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,488));
		} else {
			cs2method_10467(1, 71827944);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may change the noticeboard.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,597));
		} else if (script_6006(v0) == 0) {
			object v3 = "You may only allow adding of notices if your rank has this permission.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,597));
		} else {
			cs2method_10467(1, 71828053);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may change the signpost.";
			cs2method_21121(new function<script_5139>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,586));
		} else if (script_6008(v0) == 0) {
			object v3 = "You may only allow adding to the signpost if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,586));
		} else {
			cs2method_10467(1, 71828042);
		}
		if (script_6010(v0) == 0) {
			object v3 = "You may only allow editing of the clan battlefield if your rank has this permission.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,630));
		} else {
			cs2method_10467(1, 71828086);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may change who may lock the citadel.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,552));
		} else if (script_5149(v0) == 0) {
			object v3 = "You may only allow locking of the citadel if your rank has this permission.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,552));
		} else {
			cs2method_10467(1, 71828008);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may change who may lock the keep.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,539));
		} else if (script_5148(v0) == 0) {
			object v3 = "You may only allow locking of the keep if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,539));
		} else {
			cs2method_10467(1, 71827995);
		}
		if (script_5149(v0) == 0) {
			object v3 = "You may only allow entry to the citadel if your rank has this permission.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,747));
		} else {
			cs2method_10467(1, 71828203);
		}
		if (script_5148(v0) == 0) {
			object v3 = "You may only allow entry to the keep if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,734));
		} else {
			cs2method_10467(1, 71828190);
		}
		if (script_6014(v0) == 0) {
			object v3 = "You may only allow starting of battles if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,642));
		} else {
			cs2method_10467(1, 71828098);
		}
		if (script_6016(v0) == 0) {
			object v3 = "You may only allow a rank to lead Rated Clan Wars if your rank has this permission.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,653));
		} else {
			cs2method_10467(1, 71828109);
		}
		if (script_6018(v0) == 0) {
			object v3 = "You may only allow a rank to call a vote if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,665));
		} else {
			cs2method_10467(1, 71828121);
		}
		if (script_6020(v0) == 0) {
			object v3 = "You may only allow a rank to begin a meeting if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,678));
		} else {
			cs2method_10467(1, 71828134);
		}
		if (script_6022(v0) == 0) {
			object v3 = "You may only set a rank as a party tech if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,690));
		} else {
			cs2method_10467(1, 71828146);
		}
		if (script_6024(v0) == 0) {
			object v3 = "You may only set a rank as a theatre tech if your rank has this permission.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,788));
		} else {
			cs2method_10467(1, 71828244);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may set skill plot locks.";
			cs2method_21121(new function<script_5139>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,799));
		} else if (script_5962(v0) == 0) {
			object v3 = "You may only allow a rank to lock plots if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,799));
		} else {
			cs2method_10467(1, 71828255);
		}
		if (script_5964(v0) == 0) {
			object v3 = "You may only allow a rank to checkresources if your rank has this permission.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,810));
		} else {
			cs2method_10467(1, 71828266);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may set gathering goals.";
			cs2method_21121(new function<script_5139>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 0, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,702));
		} else if (script_5225(v0) == 0) {
			object v3 = "You may only allow a rank to gather resources if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,702));
		} else {
			cs2method_10467(1, 71828158);
		}
		if (cs2_configs['cfg1569'] < 103) {
			object v3 = "Only overseers and above may set the citadel's language.";
			cs2method_21121(new function<script_5139>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,777));
		} else if (script_6028(v0) == 0) {
			object v3 = "You may only allow a rank to change the stronghold's language if your rank has this permission.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,777));
		} else {
			cs2method_10467(1, 71828233);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admin ranks and above may remove the avatar habitat.";
			cs2method_21121(new function<script_5139>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,843));
		} else if (script_6631(v0) == 0) {
			object v3 = "You may only allow another rank to remove the avatar habitat if your rank has permission.";
			cs2method_21121(new function<script_5138>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,843));
		} else {
			cs2method_10467(1, 71828299);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admin ranks and above may customise the clan avatar.";
			cs2method_21121(new function<script_5139>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 0, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,821));
		} else if (script_6633(v0) == 0) {
			object v3 = "You may only allow another rank to customise the clan avatar if your rank has permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,821));
		} else {
			cs2method_10467(1, 71828277);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may fill avatar buff slots.";
			cs2method_21121(new function<script_5139>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,832));
		} else if (script_6635(v0) == 0) {
			object v3 = "You may only allow a rank to fill avatar buff slots if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,832));
		} else {
			cs2method_10467(1, 71828288);
		}
		if (cs2_configs['cfg1569'] < 103) {
			object v3 = "Only overseers and above may move the build tick.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,714));
		} else if (script_6030(v0) == 0) {
			object v3 = "You may only allow a rank to change the stronghold's build time if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,714));
		} else {
			cs2method_10467(1, 71828170);
		}
		if (script_9357(v0) == 0) {
			object v3 = "You may only allow a rank to broadcast a noticeboard event if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,854));
		} else {
			cs2method_10467(1, 71828310);
		}
		if (cs2_configs['cfg1569'] < 100) {
			object v3 = "Only admins and above may change clan broadcast settings.";
			cs2method_21121(new function<script_5139>(object a0,int a1) {
				int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
				script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 0, v0, a0, cs2method_10152(a1));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,872));
		} else if (script_5885(v0) == 0) {
			object v3 = "You may only allow a rank to change clan broadcast settings if your rank has this permission.";
			cs2method_21121(new function<script_5138>(int a0,object a1) {
				int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
				script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
				return;
			}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,872));
		} else {
			cs2method_10467(1, 71828328);
		}
	} else {
		object v3 = "Your rank is not high enough to alter this permission. You must be logged in to your clan's chat to adjust this.";
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,608));
		cs2method_21121(new function<script_5138>(object a0,int a1) {
			int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
			script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,619));
		cs2method_21121(new function<script_5139>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,488));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,597));
		cs2method_21121(new function<script_5139>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,586));
		cs2method_21121(new function<script_5139>(object a0,int a1) {
			int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
			script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 0, v0, a0, cs2method_10152(a1));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,630));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,552));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,539));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,747));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,734));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,642));
		cs2method_21121(new function<script_5139>(object a0,int a1) {
			int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
			script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 0, v0, a0, cs2method_10152(a1));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,653));
		cs2method_21121(new function<script_5138>(object a0,int a1) {
			int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
			script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,665));
		cs2method_21121(new function<script_5138>(object a0,int a1) {
			int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
			script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 2, v0, a0, cs2method_10152(a1));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,678));
		cs2method_21121(new function<script_5139>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,690));
		cs2method_21121(new function<script_5139>(object a0,int a1) {
			int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
			script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 0, v0, a0, cs2method_10152(a1));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,788));
		cs2method_21121(new function<script_5139>(object a0,int a1) {
			int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
			script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 0, v0, a0, cs2method_10152(a1));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,799));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,810));
		cs2method_21121(new function<script_5139>(object a0,int a1) {
			int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
			script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 0, v0, a0, cs2method_10152(a1));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,702));
		cs2method_21121(new function<script_5139>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,777));
		cs2method_21121(new function<script_5139>(object a0,int a1) {
			int v0 = cs2method_10060(cs2method_10191(a1), cs2method_10968(cs2method_10236(a1), 2));
			script_7769(71827568, a1, -1, 150, -1, -1, -1, 13, 4, 0, v0, a0, cs2method_10152(a1));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,843));
		cs2method_21121(new function<script_5139>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,821));
		cs2method_21121(new function<script_5139>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 0, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,832));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,714));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,854));
		cs2method_21121(new function<script_5138>(int a0,object a1) {
			int v0 = cs2method_10060(cs2method_10191(a0), cs2method_10968(cs2method_10236(a0), 2));
			script_7769(71827568, a0, -1, 150, -1, -1, -1, 13, 4, 2, v0, a1, cs2method_10152(a0));
			return;
		}, (string)v3, new WidgetPointer(-32768,3), "sI", new WidgetPointer(1096,872));
	}
	script_5135();
	return;
}
