Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pytanie] Jak ustawic zeby...


karolusxd96

Rekomendowane odpowiedzi

Opublikowano

Do REDBOTA PRO skrypt na ss By Slane

//Screenshot Taker v2.2 - By Slane

//Advances
bool Level = true;
bool Magic = false;
bool Fist = false;
bool Club = false;
bool Sword = false;
bool Axe = false;
bool Distance = false;
bool Shielding = false;
bool Fishing = false;
bool Death = true;

//Rare drops
bool Rare_Item_Drop = false;
string Rare_Item = "shield of corruption"; // do not use capital letters

//Boss spawns
bool SS_When_Boss_Spawn = false;
string Boss_Name = "The Voice of Ruin";

//Player on screen
bool Player_On_Screen = false;
string Player_Name = "Slane";

//Low health
bool SS_On_Low_Health = false;
int Low_Health = 3; // works by %

// Do not touch below
string MsgCon = $lastmsg.serverlog.content;
int MsgIndex = $lastmsg.serverlog.index;

if (filexists($name + " - Screenshots") == false)
{
createfile($name + " - Screenshots");
}
if (filexists($name + " - Levels") == false)
{
createfile($name + " - Levels");
}

if (Death && $hppc < 2)
{
focusclient();
wait(500);
screenshot("Dead");
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
if (Level && $hppc == 100 && $mppc == 100 && !$pzone)
{
if (fileline($name + " - Levels", filelinescount($name + " - Levels")-1) != $level.ToString())
{
focusclient();
wait(500);
screenshot($name+" - Level "+$level);
filewrite($name + " - Levels", $level+"\r\n");
}
}
if (Magic && $lastmsg.serverlog.content.IndexOf("Magic Level") != -1)
{
if (MsgCon != fileline($name + " - Screenshots", filelinescount($name + " - Screenshots")-1))
{
focusclient();
wait(500);
screenshot("Magic");
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
}
if (Fist && $lastmsg.serverlog.content.IndexOf("fist") != -1)
{
if (MsgCon != fileline($name + " - Screenshots", filelinescount($name + " - Screenshots")-1))
{
focusclient();
wait(500);
screenshot("Fist");
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
}
if (Club && $lastmsg.serverlog.content.IndexOf("club fighting") != -1)
{
if (MsgCon != fileline($name + " - Screenshots", filelinescount($name + " - Screenshots")-1))
{
focusclient();
wait(500);
screenshot("Club");
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
}
if (Sword && $lastmsg.serverlog.content.IndexOf("sword fighting") != -1)
{
if (MsgCon != fileline($name + " - Screenshots", filelinescount($name + " - Screenshots")-1))
{
focusclient();
wait(500);
screenshot("Sword");
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
}
if (Axe && $lastmsg.serverlog.content.IndexOf("axe fighting") != -1)
{
if (MsgCon != fileline($name + " - Screenshots", filelinescount($name + " - Screenshots")-1))
{
focusclient();
wait(500);
screenshot("Axe");
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
}
if (Distance && $lastmsg.serverlog.content.IndexOf("distance fighting") != -1)
{
if (MsgCon != fileline($name + " - Screenshots", filelinescount($name + " - Screenshots")-1))
{
focusclient();
wait(500);
screenshot("Distance");
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
}
if (Shielding && $lastmsg.serverlog.content.IndexOf("shielding") != -1)
{
if (MsgCon != fileline($name + " - Screenshots", filelinescount($name + " - Screenshots")-1))
{
focusclient();
wait(500);
screenshot("Shielding");
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
}
if (Fishing && $lastmsg.serverlog.content.IndexOf("fishing") != -1)
{
if (MsgCon != fileline($name + " - Screenshots", filelinescount($name + " - Screenshots")-1))
{
focusclient();
wait(500);
screenshot("Fishing");
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
}
if (Rare_Item_Drop && MsgCon.IndexOf(Rare_Item) != -1)
{
if (MsgCon != fileline($name + " - Screenshots", filelinescount($name + " - Screenshots")-1))
{
focusclient();
wait(500);
screenshot(Rare_Item);
filewrite($name + " - Screenshots", MsgCon+"\r\n");
}
}
if (SS_When_Boss_Spawn && maround(7, Boss_Name) > 0)
{
focusclient();
wait(500);
screenshot(Boss_Name);
}
if (Player_On_Screen && paround(7, Player_Name) > 0)
{
focusclient();
wait(500);
screenshot(Player_Name+" On Screen");
}
if (SS_On_Low_Health && $hppc <= Low_Health && $hppc > 0)
{
focusclient();
wait(500);
screenshot($hppc+"% health");
} 

Skrypt jak widać jest zaawansowany sam go do końca nie testowałem :P

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...