You may think it is so complicated but it is not it just sounds like it and it may be even trash thats why its 50/50 get it?
and you may probably have tried this once or maybe a couple of times too.
So the perfect conditions are Witch is found and smartly communicated with you, there is a spy, there is a ww, an executioner, vigilante, Amnesiac/survivor, Med, And an honest jailor to boot
How to do the trick?
Do not be a smarty-ass just be smart and cool. When i say smart-ass/smarty-pants that is plainly typing your a mafia member or like saying you want to gamethrow and give out random names except yo peeps that is not how to play smart. When we say smart that is playing it cool in tough situations and playing with facts a lil bit, not being to aggressive know when to downplay the opposition and lay low when you are defeated but dont ever admit to it and Shamelessness, no frequent Spamming , no spamming when put in trial or vote, just play it cool and stick to your own facts. Strategize with your teammates even when there is spy mislead him a lil bit.
Get the townies to your case just ike a normal townie would fake will and all that lying. Tell them one role
My story...
...So it was Me vs ww vs an exe vs med vs vigi. Before that i had been jailed and claimed bg. I visited mayor and lookout spotted me. So i claimed bg til the end of the game in day chat. Back to Me vs them, the exe was already with me as i helped them and ww revealed my true role but i wasnt lynched. The night, I shot vigi, Vigi shot ww, Dead Jailor and mayor backed my alibi to med. So next day it was ww vs me and exe, med. I won the game by shting med.