PHP Code:
new GuiWindowCtrl("Results_Window") {
profile = "GuiBlueTransWindowProfile";
profile.fontColor = { 255, 255, 255};
extent = { 158, 64};
position = { screenwidth/2, screenheight/3+80};
text = "Death Clock Results";
fontSize = 14;
useownprofile = true;
canClose = true;
canMove = false;
canResize = false;
canMinimize = false;
canMaximize = false;
destroyOnHide = true;
visble = false;
new GuiMLTextCtrl("Reseult_Text") {
profile = "GuiBlueTextProfile";
position = { 12, 25};
extent = { 175, 48};
columns = { 80, 175};
text = "Your going to die on, " NL thiso.day[0] SPC thiso.month SPC thiso.day[1] SPC thiso.d1;
};
if (thiso.d1 < 2007)
{
Reseult_Text.setText("Sorry, your time is up!" NL "Have a Nice Day! :)");
}
};
}
function BMI_Button.onAction() BMIWind();
function BMIWind() {
new GuiWindowCtrl("BMI_Window") {
profile = "GuiBlueTransWindowProfile";
profile.fontColor = { 255, 255, 255};
extent = { 175, 96};
position = { screenwidth/2.25, screenheight/3+80};
text = "BMI";
fontSize = 14;
useownprofile = true;
canClose = true;
canMove = false;
canResize = false;
canMinimize = false;
canMaximize = false;
destroyOnHide = true;
visble = false;
new GuiTextCtrl("Weight_Text") {
profile = "GuiBlueTextProfile";
position = { 12, 25};
text = "Weight (lbs) :";
};
new GuiTextCtrl("Height_Text") {
profile = "GuiBlueTextProfile";
position = { 12, 47};
text = "Height (in) :";
};
new GuiTextCtrl("BMI_Text") {
profile = "GuiBlueTextProfile";
position = { 12, 69};
text = "Your BMI is :";
};
new GuiTextEditCtrl("Weight_Edit_Text") {
profile = "GuiBlueTextEditProfile";
position = { 78, 25};
extent = { 32, 20};
};
new GuiTextEditCtrl("Height_Edit_Text") {
profile = "GuiBlueTextEditProfile";
position = { 78, 47};
extent = { 32, 20};
};
new GuiButtonCtrl("BMI_Get_Button") {
profile = "GuiBlueButtonProfile";
position = { 112, 47};
extent = { 55, 20};
text = "Get BMI";
};
};
}
function BMI_Get_Button.onAction() {
this.weight1 = Weight_Edit_Text.text;
this.height1 = Height_Edit_Text.text;
this.BMI1 = int((this.weight1*703)/(this.height1^2));
BMI_Text.setText("Your BMI is :" @ this.BMI1);
}
function About_Button.onAction() {
new GuiWindowCtrl("About_Window") {
profile = "GuiBlueTransWindowProfile";
profile.fontColor = { 255, 255, 255};
extent = { 250, 150};
position = { screenwidth/2.55, screenheight/3+80};
text = "About";
fontSize = 14;
useownprofile = true;
canClose = true;
canMove = false;
canResize = false;
canMinimize = false;
canMaximize = false;
destroyOnHide = true;
visble = false;
new GuiMLTextCtrl("About_Text") {
profile = "GuiBlueTextProfile";
position = { 8, 25};
extent = { 240, 48};
columns = { 80, 175};
text = "Hello, this script is made by Mr. Omega of Niromia it is free for anyone to tinker with, just do not call it your own. :P THIS IS NOT MEANT TO BE SERIOUS OR ACTUAL!!! Some data is based off averages from the CIA Data bases of Human Health and sites alike. Have Fun!
- Mr. Omega";
};
};
}
Just copy each one into the same weapon no spaces or nothing, just make sure it's on its own line :P
I'm sure there ways to optimize it but I could care less so don't babble on about it
File for download I put aswell if you feel unsafe with the two post thing o.o