I'm not sure if this would be server/client sided. But i want it so when i have run on when i login. it will have the run orb clicked.

Code:
getPA().sendFrame36(173,isRunning2 ? 0 : 1);
i can see its using sendFrame36 to connect it client sided to sendPacket185
Code:
public void sendPacket185(int button,int toggle,int interfaceType) {
		switch(interfaceType) {
			case 135:
				RSInterface class9 = RSInterface.interfaceCache[button];
				boolean flag8 = true;
				if(class9.contentType > 0)
					flag8 = promptUserForInput(class9);
				if(flag8) {
					stream.createFrame(185);
					stream.writeWord(button);
				}
				break;
			case 646:
				stream.createFrame(185);
				stream.writeWord(button);
				RSInterface class9_2 = RSInterface.interfaceCache[button];
				if(class9_2.valueIndexArray != null && class9_2.valueIndexArray[0][0] == 5) {
					if(variousSettings[toggle] != class9_2.requiredValues[0]) {
						variousSettings[toggle] = class9_2.requiredValues[0];
						method33(toggle);
						needDrawTabArea = true;
					}
				}
				break;
			case 169:
				stream.createFrame(185);
				stream.writeWord(button);
				RSInterface class9_3 = RSInterface.interfaceCache[button];
				if(class9_3.valueIndexArray != null && class9_3.valueIndexArray[0][0] == 5) {
					variousSettings[toggle] = 1 - variousSettings[toggle];
					method33(toggle);
					needDrawTabArea = true;
				}
				switch(button) {
					case 19136:
						if(toggle == 0)
							sendFrame36(173,toggle);
						if(toggle == 1)
							sendPacket185(153,173,646);
						break;
				}
				break;
		}
	}
173 being the packet its using. what im wondering is could i make a boolean
Code:
public boolean runClicked = false;
server side the same as client sided and choose whether the orb is clicked or not. or how would i call this to the server.