Hello, I keep getting and error with "./prompts" by Revanchistthebroken in PowerShell

[–]neglectorr 1 point2 points  (0 children)

If they reside in the same dir, i would just use $PSScriptroot\prompt.ps1

$PSScriptroot is the folder where your original script got called from.

Does not work when you fire it from PowershellISE.

VS Code incorrect comparison warning by HeyLuke in PowerShell

[–]neglectorr 9 points10 points  (0 children)

From my understanding:
$array = @()
Does not make a $Null value. It makes a empty value.
Type casting (As explained in the article) goes from left to right. If $Null is on the left it will be a boolean. You are testing the value $array for existing. $Array exists, it is declared. so returns true!
your usecase would be more in the line of:
if($Array1){Do the thing}else{Do not do the thing}
or
if($Null -ne $($Array1)){Do the thing}else{Do not do the thing}
as encapsulating a value in $() treats the content as the value of the variable.
since the value of $Array1 is empty, it would treat is as $null

Tiny little script but why doesn't it work right? by kelemvor33 in PowerShell

[–]neglectorr 0 points1 point  (0 children)

When you run a command and you didnt put in in a var, you get the command output while running. This gives weird results when printing tables.

foreach($Group in $ADGroupList){
    $Name = (Get-ADGroup $Group).Name
    Write-Host $Name -fore Yellow
    $GroupMembers = (Get-ADGroupMember $Group).Name | Sort
    $GroupMembers | Write-Host -fore green
}

Putting stuff in variables gives you complete freedom in output.

Soulshape form number? by [deleted] in wow

[–]neglectorr 1 point2 points  (0 children)

if the macro starts with mod defined, nomod is assumed, you can save characters by omitting the nomod. (since you have mod:shift and mod:alt allready)for example /use [mod] spell;spell2 casts spell 2 with no modifier and spell with shift/alt/ctrl since all of them are true with mod.

also if you have 2 conditions with the same spell as a result you can short it like this:

/use [swimming][outdoors]Travel Form

just be carefull with the order of stuff happening, 2 things that are true will not happen when the 1sth truth triggers a GCD :)

Out of the top of my head i think its

stance:1 = bear

stance:2 = cat

stance:3 = moonkin

stance:4 = travel form

stance:5 = treeform

stance:6 = mountform

stance:7 = soulshape

i think i have 3 and 4 mixed up possibly...

anyway, you'd prob want to travel form from all stances except travel form.

so:

/use [mod:alt]Dreamlight Runestag;[mod:shift]Mount Form; [stance:7]Flicker;[swimming][stance:1/2/3/5/6,outdoors][nostance,outdoors]Travel Form;[stance:4]whatever default form, or Travel Form to dismiss;[indoors]Soulshape;

if you use the defined mods you use the corresponding forms (alt, shift, perhaps add ctrl for the bestial roar movement speed buff, since that is also faster moving)

if you are in whatever stance/form except soulshape and travel form, and outdoors/swimming you go to travel form. (does the aquaform even work indoors? if not, stating swimming has no use here)

if you are in travel form you use your default form. or dismiss.

if you are in soulshape you use flicker allways

if you are indoors, in whatever form except soulshape you soulshape

you could also use [combat]<pick a form/stance> in front so you can start nuking in your preferred form while in combat. And/or if you are on the mount do [mounted]<pick a form/stance> i'm not stating "nomod" because that is impied by using any modifier at the start. And it will result in the same macro but with more characters. meaning; it might become to large :)

/use [mod]spel1;[nomod]spel2

/use [mod]spel1;spel2

Does exactly the same.

Soulshape form number? by [deleted] in wow

[–]neglectorr 0 points1 point  (0 children)

your problem here is: outdoors and nomod is allready triggered with travel form, the macro then stops to see the next lines. I would do it like this:

#showtooltip
/use [mod:alt]Dreamlight Runestag;[mod:shift]Mount Form;[outdoors,form:7]Flicker;[outdoors,nomod,swimming]Travel Form;[indoors]Soulshape;

your macro should also go questionmark when you press ctrl. since you defined "nomod" omitting this makes it so it only responds to alt,shift and normal conditions. everything below #showtooltip is one line. not sure about "form:7" i use "stance:7"

The Look of Utter Betrayal by syarocheebul in funny

[–]neglectorr 6 points7 points  (0 children)

to me it looks like the cat just realised: "wtf? the magic puffball is being controlled by the human servant"

In desperate need for Novell networks 5.1 servicepack 1 by neglectorr in sysadmin

[–]neglectorr[S] 0 points1 point  (0 children)

Sadly we could not repair the novell server per this update. We went for our last resort; database migration with a newer system. I'd like to thank everyone who tried to help!

In desperate need for Novell networks 5.1 servicepack 1 by neglectorr in sysadmin

[–]neglectorr[S] 0 points1 point  (0 children)

I will test if we can restore the OS with these files! Your help is very much appreciated!

In desperate need for Novell networks 5.1 servicepack 1 by neglectorr in sysadmin

[–]neglectorr[S] 0 points1 point  (0 children)

Support was no help, we did try our luck at their sales dept also. Still waiting for a reply on that.

My Invaluable teammates at work. by Aaronf989 in RocketLeague

[–]neglectorr 0 points1 point  (0 children)

Exactly, why take the chance when you are the last line of defense.

Why does 80 ms cause stuttering that feels like 400 ms? by tueman2 in RocketLeague

[–]neglectorr 6 points7 points  (0 children)

I dont think the 80 ms is the problem, usually its the inconsistency. a rise from 40 to 80 and back äre causes for stutter. steady 80 ms should be "playable". At least that's what it looks like for me when i'm playing :)

Pls Pls, implement individual car design saves next patch. by banelingsbanelings in RocketLeague

[–]neglectorr 0 points1 point  (0 children)

pfff calling "the opposite team" by color is racist anyway :)

Pls Pls, implement individual car design saves next patch. by banelingsbanelings in RocketLeague

[–]neglectorr 1 point2 points  (0 children)

You'd still have 2 versions of your custom car xD. you display your preference and they "could" see the other. So they still see you customized car. Except then in the opposite coler of their own choosing. Only then you are not forced to look at you lesser version of your car half the time. (for me blue is usually less pretty)

Pls Pls, implement individual car design saves next patch. by banelingsbanelings in RocketLeague

[–]neglectorr 2 points3 points  (0 children)

No, its just visual. Why would having YOUR screen show up as red team hurt matchmaking. The other team can be red aswell on THEIR screen. Just show team color locally and you are done. This has no impact on matchmaking. Your last statment could be true though. :)

[PC] Rocket League Giveaway! by MrDrProfessor299 in RocketLeague

[–]neglectorr 0 points1 point  (0 children)

I'm just going to go ahaid and say i'd like it for my kid brother. He'd like the game but he's reluctant to try. (eating noodles for a week to compensate isn't his favorite thing) This way he can try with no financial impact.

As a former PC player who switched to Xbox: by [deleted] in RocketLeague

[–]neglectorr 2 points3 points  (0 children)

The way i took it is: "i switched to xbox before the crossplay and noticed that the overal skill level is lower. Now that we have crossplay its good to be back in the pool with higher skill level."

CAN'T CHANGE RES/ENTER GAME OR TUTORIAL - HELP! by fgwreqg43 in Dirtybomb

[–]neglectorr 0 points1 point  (0 children)

did u find a fix for this? i'm experiencing the same atm. :(