Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- So, in Scripts, after all SVO stuff I have:
- 1.
- Script name: osvjezibox
- Registered Event Handlers: svo done with prompt
- Code:
- function osvjezibox()
- targetBox()
- allyBox()
- udBox()
- end
- 2.
- Script name: Boxes
- Code:
- function targetBox()
- WindowWidth = 10;
- WindowHeight = 0;
- WindowWidth, WindowHeight = getMainWindowSize();
- createMiniConsole("tars",WindowWidth-1000,0,200,200)
- clearWindow("tars")
- setBackgroundColor("tars",50,0,0,255)
- setMiniConsoleFontSize("tars", 8)
- setWindowWrap("tars", 40)
- setTextFormat("tars",255,255,0,0,0,0,0,0,0)
- moveWindow("tars",WindowWidth-150-20,350)
- resizeWindow("tars",150,150)
- handleWindowResizeEvent()
- if t1 then
- cecho("tars","\nt1: " ..t1.."\n")
- end
- if t2 then
- cecho("tars","t2: " ..t2.."\n")
- end
- if t3 then
- cecho("tars","t3: " ..t3.."\n")
- end
- if t4 then
- cecho("tars","t4: " ..t4.."\n")
- end
- if t5 then
- cecho("tars","t5: " ..t5.."\n")
- end
- if t6 then
- cecho("tars","t6: " ..t6.."\n")
- end
- if t7 then
- cecho("tars","t7: " ..t7.."\n")
- end
- if t8 then
- cecho("tars","t8: " ..t8.."\n")
- end
- if tud then
- cecho("tars","tud: " ..tud.."\n")
- end
- if fbacked then
- cecho("tars","Feedback at: "..fbacked.."\n")
- end
- if arcen then
- cecho("tars","Arcane energy: "..arcen.."\n")
- end
- end
- showWindow("tars")
- function udBox()
- WindowWidth = 10;
- WindowHeight = 0;
- WindowWidth, WindowHeight = getMainWindowSize();
- createMiniConsole("udos",WindowWidth-1000,0,200,200)
- clearWindow("udos")
- setBackgroundColor("udos",50,0,0,255)
- setMiniConsoleFontSize("udos", 8)
- setWindowWrap("udos", 40)
- setTextFormat("udos",255,255,0,0,0,0,0,0,0)
- moveWindow("udos",WindowWidth-150-20,135)
- resizeWindow("udos",150,210)
- handleWindowResizeEvent()
- if stanjedn then
- cecho("udos","\nrleg: " ..stanjedn.."\n")
- end
- if stanjeln then
- cecho("udos","lleg: " ..stanjeln.."\n")
- end
- if stanjedr then
- cecho("udos","rarm: " ..stanjedr.."\n")
- end
- if stanjelr then
- cecho("udos","larm: " ..stanjelr.."\n")
- end
- if stanjetr then
- cecho("udos","torso: " ..stanjetr.."\n")
- end
- if stanjegl then
- cecho("udos","head: " ..stanjegl.."\n")
- end
- if vichashea then
- if vichashea == 0 then
- cecho("udos","<red>hearing: "..vichashea.."\n")
- else
- cecho("udos","<green>hearing: "..vichashea.."\n")
- end
- end
- if vichassen then
- if vichassen == 0 then
- cecho("udos","<red>sensitivity: "..vichassen.."\n")
- elseif vichassen == 1 then
- cecho("udos","<green>sensitivity: "..vichassen.."\n")
- else
- cecho("udos","<orange>sensitivity: "..vichassen.."\n")
- end
- end
- if vichasclu then
- if vichasclu == 0 then
- cecho("udos","<red>clumsiness: "..vichasclu.."\n")
- elseif vichasclu == 1 then
- cecho("udos","<green>clumsiness: "..vichasclu.."\n")
- else
- cecho("udos","<orange>clumsiness: "..vichasclu.."\n")
- end
- end
- if vichasdiz then
- if vichasdiz == 0 then
- cecho("udos","<red>dizziness: "..vichasdiz.."\n")
- elseif vichasdiz == 1 then
- cecho("udos","<green>dizziness: "..vichasdiz.."\n")
- else
- cecho("udos","<orange>dizziness: "..vichasdiz.."\n")
- end
- end
- if vichashle then
- if vichashle == 0 then
- cecho("udos","<red>healthleech: "..vichashle.."\n")
- elseif vichashle == 1 then
- cecho("udos","<green>healthleech: "..vichashle.."\n")
- else
- cecho("udos","<orange>healthleech: "..vichashle.."\n")
- end
- end
- if vichasepi then
- if vichasepi == 0 then
- cecho("udos","<red>epilepsy: "..vichasepi.."\n")
- elseif vichasepi == 1 then
- cecho("udos","<green>epilepsy: "..vichasepi.."\n")
- else
- cecho("udos","<orange>epilepsy: "..vichasepi.."\n")
- end
- end
- if vichasast then
- if vichasast == 0 then
- cecho("udos","<red>asthma: "..vichasast.."\n")
- elseif vichasast == 1 then
- cecho("udos","<green>asthma: "..vichasast.."\n")
- else
- cecho("udos","<orange>asthma: "..vichasast.."\n")
- end
- end
- if vichaswea then
- if vichaswea == 0 then
- cecho("udos","<red>weariness: "..vichaswea.."\n")
- elseif vichaswea == 1 then
- cecho("udos","<green>weariness: "..vichaswea.."\n")
- else
- cecho("udos","<orange>weariness: "..vichaswea.."\n")
- end
- end
- if vichasimp then
- if vichasimp == 0 then
- cecho("udos","<red>impatience: "..vichasimp.."\n")
- elseif vichasimp == 1 then
- cecho("udos","<green>impatience: "..vichasimp.."\n")
- else
- cecho("udos","<orange>impatience: "..vichasimp.."\n")
- end
- end
- if vichaspar then
- if vichaspar == 0 then
- cecho("udos","<red>paralysis: "..vichaspar.."\n")
- elseif vichaspar == 1 then
- cecho("udos","<green>paralysis: "..vichaspar.."\n")
- else
- cecho("udos","<orange>paralysis: "..vichaspar.."\n")
- end
- end
- end
- showWindow("udos")
- function allyBox()
- WindowWidth = 10;
- WindowHeight = 0;
- WindowWidth, WindowHeight = getMainWindowSize();
- createMiniConsole("alls",WindowWidth-1000,0,200,200)
- clearWindow("alls")
- setBackgroundColor("alls",50,0,0,255)
- setMiniConsoleFontSize("alls", 8)
- setWindowWrap("alls", 40)
- setTextFormat("alls",255,255,0,0,0,0,0,0,0)
- moveWindow("alls",WindowWidth-150-20,10)
- resizeWindow("alls",150,120)
- handleWindowResizeEvent()
- if a1 then
- if refl1 == 1 then
- cecho("alls","<green>a1 " .. a1.."\n")
- else
- cecho("alls","<red>a1: " ..a1.."\n")
- end
- end
- if a2 then
- if refl2 == 1 then
- cecho("alls","<green>a2 " .. a2.."\n")
- else
- cecho("alls","<red>a2: " ..a2.."\n")
- end
- end
- if a3 then
- if refl3 == 1 then
- cecho("alls","<green>a3 " .. a3.."\n")
- else
- cecho("alls","<red>a3: " ..a3.."\n")
- end
- end
- if a4 then
- if refl4 == 1 then
- cecho("alls","<green>a4 " .. a4.."\n")
- else
- cecho("alls","<red>a4: " ..a4.."\n")
- end
- end
- if a5 then
- if refl5 == 1 then
- cecho("alls","<green>a5 " .. a5.."\n")
- else
- cecho("alls","<red>a5: " ..a5.."\n")
- end
- end
- if a6 then
- if refl6 == 1 then
- cecho("alls","<green>a6 " .. a6.."\n")
- else
- cecho("alls","<red>a6: " ..a6.."\n")
- end
- end
- if a7 then
- if refl7 == 1 then
- cecho("alls","<green>a7 " .. a7.."\n")
- else
- cecho("alls","<red>a7: " ..a7.."\n")
- end
- end
- if a8 then
- if refl8 == 1 then
- cecho("alls","<green>a8 " .. a8.."\n")
- else
- cecho("alls","<red>a8: " ..a8.."\n")
- end
- end
- if ref0 == 1 then
- cecho("alls","<green>marv\n")
- else
- cecho("alls","<red>marv\n")
- end
- end
- showWindow("alls")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement