UI.AddSubTab( ["Misc.", "SUBTAB_MGR"], "clantags");
UI.AddDropdown( ["Misc.", "clantags", "SHEET_MGR", "clantags"], "clantags",["Blank","FlowerPower"],1);
UI.AddSliderInt(["Misc.","clantags","clantags"], "Clantag Speed", 1,5 );
var today = new Date();
var datetime = today.getHours() + ":" + today.getMinutes() + ":" + (today.getSeconds() < 10 ? "0" + today.getSeconds() : today.getSeconds());
var lasttime = 0;
function onRender( )
{
var tag = UI.GetValue( ["Misc.","clantags","clantags", "clantags"] );
var speed = UI.GetValue( ["Misc.","clantags","clantags", "Clantag Speed"] );
var time = parseInt((Globals.Curtime() * speed))
var realtime = Global.Tickrate()
if (time != lasttime)
{
if(tag == 0) { Local.SetClanTag(""); }
if(tag == 1)
{
switch((time) % 27)
{
case 1: { Local.SetClanTag(" "); break; }
case 2: { Local.SetClanTag(" ga"); break; }
case 3: { Local.SetClanTag(" gam"); break; }
case 4: { Local.SetClanTag(" game"); break; }
case 5: { Local.SetClanTag(" games"); break; }
case 6: { Local.SetClanTag(" gamese"); break; }
case 7: { Local.SetClanTag(" gamesen"); break; }
case 8: { Local.SetClanTag(" gamesens"); break; }
case 9: { Local.SetClanTag(" gamesense"); break; }
case 10: { Local.SetClanTag(" gamesense "); break; }
case 11: { Local.SetClanTag(" gamesense "); break; }
case 12: { Local.SetClanTag(" gamesense "); break; }
case 13: { Local.SetClanTag(" gamesense "); break; }
case 14: { Local.SetClanTag(" gamesense "); break; }
case 15: { Local.SetClanTag(" gamesense "); break; }
case 16: { Local.SetClanTag(" gamesense "); break; }
case 17: { Local.SetClanTag(" gamesense "); break; }
case 18: { Local.SetClanTag("gamesense "); break; }
case 19: { Local.SetClanTag("mesense "); break; }
case 20: { Local.SetClanTag("esense "); break; }
case 21: { Local.SetClanTag("sense "); break; }
case 22: { Local.SetClanTag("ense "); break; }
case 23: { Local.SetClanTag("nse "); break; }
case 24: { Local.SetClanTag("se "); break; }
case 25: { Local.SetClanTag("e "); break; }
case 26: { Local.SetClanTag(" "); break; }
}
}
}
lasttime = time;
}
Cheat.RegisterCallback("Draw", "onRender");