MrozuOTS.PL
Inne => Kosz => Wątek zaczęty przez: GxC w 17 Grudzień 2021, 20:37:45
-
https://mrozuots.pl/index.php?topic=3367.0
-
Siemka, tu Mikelondiony, dorzucam fajny skrypt na wyświetlanie prywatnych wiadomości zawsze na wierzchu, żeby się nie zgubiły, polecam wszystkim, którzy odchodzą od kompa a nie chcą, żeby coś im umknęło:
local height = 50
local widget = setupUI([[
Panel
id: msgPanel
height: 400
width: 200
]], g_ui.getRootWidget())
onTalk(function(name, level, mode, text, channelId, pos)
if (mode ~= 4) then return end
local msgLabel = g_ui.loadUIFromString([[
Label
color: #5ff7f7
background-color: black
opacity: 0.87
]], widget)
msgLabel:setText(name .." ["..level.. "]: " .. text)
msgLabel:setPosition({y = height, x = 10})
if height > 210 then
for msgIndex, message in ipairs(widget:getChildren()) do
message:setPosition({y = message:getPosition().y - 13, x = 10})
if (msgIndex == 1) then message:destroy() end
end
else
height = height + 13
end
end)
-
ten anty rs mogles dac wczesniej duzo osob by skorzystalo ;D
-
a macie moze skrypt na zaznaczanie Targetu Lidera na Mc ? zeby zaznaczał i bił z czaru
-
Fajnie by bylo jakby powstal skrypt jeszcze ze jak mana jest ponizej X to wylacza Cavebot i jak sie mana naladuje do X% to sie aktywuje i expi dalej.
-
-------------Dodano-------------------
Skrypt na wyłączenie cavebot+targetbot gdy mana spadniej ponizej danego %, uruchomi ponownie gdy bedzie ponad dany %
Skrypt na pokazywanie %hp, mobków/graczy
Skrypt na otwieranie wszystkich bp
-
GFB POD DUPE
local holdGfbHotkey = 'PageDown'
local holdGfbText = 'Rzuc tu GFB'
local holdGfbTextCol = 'yellow'
local holdGfbTiles = {}
local holdGfbIsOn = false
onKeyPress(function(keys)
if keys == holdGfbHotkey and holdGfbIsOn then
local tile = getTileUnderCursor()
local currTile = table.find(holdGfbTiles, tile)
if currTile then
holdGfbTiles[currTile]:setText('')
table.remove(holdGfbTiles, currTile)
else
table.insert(holdGfbTiles, tile)
holdGfbTiles[#holdGfbTiles]:setText(holdGfbText, holdGfbTextCol)
end
end
end)
addSwitch('holdGfb', 'Rzucanie GFB Pagedown', function(widget)
widget:setOn(not widget:isOn())
if not widget:isOn() then
for i = 1, #holdGfbTiles do
holdGfbTiles[1]:setText('')
table.remove(holdGfbTiles, 1)
end
end
holdGfbIsOn = widget:isOn()
end)
macro(1, function()
if holdGfbIsOn then
for _, holdGfbTile in pairs(holdGfbTiles) do
if holdGfbTile:getTopThing() then
useWith(tonumber (storage.gfbId), holdGfbTile:getTopUseThing())
return
end
end
end
end)
addTextEdit("IdRunki", storage.gfbId or "3161", function(widget, text)
storage.gfbId = text
end)
Tak, ukradłem, tylko głupi by nie skorzystał
Działa tak samo jak skrypt na ava tylko, że z innym klawiszem ;)
-
W skrypcie na ava wystarczy dac id fbomby pozdrawiam. GFB POD DUPE
local holdGfbHotkey = 'PageDown'
local holdGfbText = 'Rzuc tu GFB'
local holdGfbTextCol = 'yellow'
local holdGfbTiles = {}
local holdGfbIsOn = false
onKeyPress(function(keys)
if keys == holdGfbHotkey and holdGfbIsOn then
local tile = getTileUnderCursor()
local currTile = table.find(holdGfbTiles, tile)
if currTile then
holdGfbTiles[currTile]:setText('')
table.remove(holdGfbTiles, currTile)
else
table.insert(holdGfbTiles, tile)
holdGfbTiles[#holdGfbTiles]:setText(holdGfbText, holdGfbTextCol)
end
end
end)
addSwitch('holdGfb', 'Rzucanie GFB Pagedown', function(widget)
widget:setOn(not widget:isOn())
if not widget:isOn() then
for i = 1, #holdGfbTiles do
holdGfbTiles[1]:setText('')
table.remove(holdGfbTiles, 1)
end
end
holdGfbIsOn = widget:isOn()
end)
macro(1, function()
if holdGfbIsOn then
for _, holdGfbTile in pairs(holdGfbTiles) do
if holdGfbTile:getTopThing() then
useWith(tonumber (storage.gfbId), holdGfbTile:getTopUseThing())
return
end
end
end
end)
addTextEdit("IdRunki", storage.gfbId or "3161", function(widget, text)
storage.gfbId = text
end)
Tak, ukradłem, tylko głupi by nie skorzystał
Działa tak samo jak skrypt na ava tylko, że z innym klawiszem ;)
taaaaaaaaaaaaaaaaaaa, problem polega kiedy chcesz walic w bosa z avy + rzucać gfb. Sklonowanie skryptu nie starczy bo w storage ci bierze to samo id i rzuca ava ;p
-
czy posiada ktos scrypt na robienie runek pod otc?