ghost
This custom command is for the game Phasmophobia. You can specify a ghost from the game to see info about that ghost, or you can list evidence to calculate potential matches to that evidence. To list evidence, separate the evidence between either tildes ~, slashes /, or commas ,. DO NOT USE SPACES unless there is a space in the name of the evidence. Information was gathered from: https://phasmophobia.fandom.com/ Examples: !ghost ghost orbs,prints !ghost emf/spirit box The tag will attempt to guess what you mean if you provide a substring of the name of the ghost or piece of evidence. Thus polt is a detectable shorthand version of the Poltergeist ghost name, and orbs,prints,temp,box, etc are all detectable evidence shorthands.
Sharedunrated
Content
189 lines{=(comment):these variables are only used in the footer}
{=(prefix):!}
{=(tagname):ghost}
{=(comment):this makes the args into a list, and allows use of / in addition to ~ and , as separators}
{=(alist):{replace(/,~):{join(-):{lower:{args}}}}}
{=(comment):list of ghosts, lowercase list of ghosts, and list of evidence with a placeholder first element that bumps the index, but is never used or seen (because our alist is lowered and it's uppercase)}
{=(ghosts):Spirit Wraith Phantom Poltergeist Banshee Jinn Mare Revenant Shade Demon Yurei Oni Hantu Yokai Goryo Myling}
{=(lghosts):{lower:{ghosts}}}
{=(evidence):NULL ghost-orbs spirit-box fingerprints emf-level-5 freezing-temperatures ghost-writing dots-projector}
{=(comment):this checks if any of the first 3 args (separated by ~ or , or /) match any evidence substrings, and if so, returns the index number for that piece of evidence}
{=(a2e):{all({list(0):{alist}}!=|{in({list(0):{alist}}):{evidence}}==true):{index({list(0):{alist}}):{replace({list(0):{alist}},. {list(0):{alist}} .):{evidence}}}} {all({list(1):{alist}}!=|{in({list(1):{alist}}):{evidence}}==true):{index({list(1):{alist}}):{replace({list(1):{alist}},. {list(1):{alist}} .):{evidence}}}} {all({list(2):{alist}}!=|{in({list(2):{alist}}):{evidence}}==true):{index({list(2):{alist}}):{replace({list(2):{alist}},. {list(2):{alist}} .):{evidence}}}}}
{=(comment):Evidence variables with corresponding prime numbers and prime products. Triple products only used when it corresponds to a ghost match}
{=(e1):No missing evidence.}
{=(e2):Ghost Orbs}
{=(e3):Spirit Box}
{=(e5):Fingerprints}
{=(e7):EMF Level 5}
{=(e11):Freezing Temperatures}
{=(e13):Ghost Writing}
{=(e17):D.O.T.S Projector}
{=(e6):{e2}, {e3}}
{=(e10):{e2}, {e5}}
{=(e14):{e2}, {e7}}
{=(e15):{e3}, {e5}}
{=(e21):{e3}, {e7}}
{=(e22):{e2}, {e11}}
{=(e26):{e2}, {e13}}
{=(e33):{e3}, {e11}}
{=(e34):{e2}, {e17}}
{=(e35):{e5}, {e7}}
{=(e39):{e3}, {e13}}
{=(e51):{e3}, {e17}}
{=(e55):{e5}, {e11}}
{=(e65):{e5}, {e13}}
{=(e77):{e7}, {e11}}
{=(e85):{e5}, {e17}}
{=(e91):{e7}, {e13}}
{=(e119):{e7}, {e17}}
{=(e143):{e11}, {e13}}
{=(e187):{e11}, {e17}}
{=(e221):{e13}, {e17}}
{=(e78):{e2}, {e3}, {e13}}
{=(e102):{e2}, {e3}, {e17}}
{=(e110):{e2}, {e5}, {e11}}
{=(e170):{e2}, {e5}, {e17}}
{=(e195):{e3}, {e5}, {e13}}
{=(e255):{e3}, {e5}, {e17}}
{=(e273):{e3}, {e7}, {e13}}
{=(e286):{e2}, {e11}, {e13}}
{=(e357):{e3}, {e7}, {e17}}
{=(e374):{e2}, {e11}, {e17}}
{=(e385):{e5}, {e7}, {e11}}
{=(e455):{e5}, {e7}, {e13}}
{=(e595):{e5}, {e7}, {e17}}
{=(e715):{e5}, {e11}, {e13}}
{=(e1001):{e7}, {e11}, {e13}}
{=(e1309):{e7}, {e11}, {e17}}
{=(comment):this converts the index numbers gained above to the prime numbers that correspond to the evidence.}
{=(e2e):{replace(4,5):{replace(5,7):{replace(6,11):{replace(8,17):{replace(7,13):{a2e}}}}}}}
{=(evidlength):{index(end):{e2e} end}}
{=(comment):just a nice display of what evidence the user input}
{=(evidreported):{replace(&, ):{join(, ):{replace(-, ):{replace( ,&):{if({list(0):{join(~):{e2e}}}!=):{e{list(0):{join(~):{e2e}}}}}-{if({list(1):{join(~):{e2e}}}!=):{e{list(1):{join(~):{e2e}}}}}-{if({list(2):{join(~):{e2e}}}!=):{e{list(2):{join(~):{e2e}}}}}}}}}}
{=(comment):this multiplies the prime numbers for each reported evidence together to generate an evidence product. a 1 is added to the end so if no evidence is submitted, the math block will not error, it will just equal 1}
{=(eprod):{m:trunc({join(*):{e2e} 1})}}
{=(comment):two letter variables for each ghost;contains the 3 evidence numbers that correspond to each ghost}
{=(sp):3 7 13}
{=(wr):3 7 17}
{=(ph):3 5 17}
{=(po):3 5 13}
{=(ba):2 5 17}
{=(ji):5 7 11}
{=(ma):2 3 13}
{=(re):2 11 13}
{=(sh):7 11 13}
{=(de):5 11 13}
{=(yu):2 11 17}
{=(on):7 11 17}
{=(ha):2 5 11}
{=(yo):2 3 17}
{=(go):5 7 17}
{=(my):5 7 13}
{=(comment):the evidence product for each ghost. each number is unique to each ghost, and will tell us matches and missing evidence through use of math. e(ghostnum) = evidence pool}
{=(spiritnum):{m:trunc({join(*):{sp}})}}
{=(wraithnum):{m:trunc({join(*):{wr}})}}
{=(phantomnum):{m:trunc({join(*):{ph}})}}
{=(poltergeistnum):{m:trunc({join(*):{po}})}}
{=(bansheenum):{m:trunc({join(*):{ba}})}}
{=(jinnnum):{m:trunc({join(*):{ji}})}}
{=(marenum):{m:trunc({join(*):{ma}})}}
{=(revenantnum):{m:trunc({join(*):{re}})}}
{=(shadenum):{m:trunc({join(*):{sh}})}}
{=(demonnum):{m:trunc({join(*):{de}})}}
{=(yureinum):{m:trunc({join(*):{yu}})}}
{=(oninum):{m:trunc({join(*):{on}})}}
{=(hantunum):{m:trunc({join(*):{ha}})}}
{=(yokainum):{m:trunc({join(*):{yo}})}}
{=(goryonum):{m:trunc({join(*):{go}})}}
{=(mylingnum):{m:trunc({join(*):{my}})}}
{=(comment):the main ghost variables. first element is either 0 or 1. 0 = match, 1 means no match. 2nd element is the number of the missing evidence. 3+ is description}
{=(spirit):{m:sgn({spiritnum}%{eprod})} {m:trunc({spiritnum}/{eprod})} A Spirit is the most common Ghost you will come across however it is still very powerful and dangerous. They are usually discovered at one of their hunting grounds after an unexplained death. Using Smudge Sticks on a Spirit will stop it attacking for a long pereiod of time.}
{=(wraith):{m:sgn({wraithnum}%{eprod})} {m:trunc({wraithnum}/{eprod})} A Wraith is one of the most dangerous Ghosts you will find. It is also the only known Ghost that has the ability of flight and has sometimes been known to travel through walls. Wraiths almost never touch the ground meaning it can’t be tracked by footsteps. Wraiths have a toxic reaction to Salt.}
{=(phantom):{m:sgn({phantomnum}%{eprod})} {m:trunc({phantomnum}/{eprod})} A Phantom is a Ghost that can possess the living, most commonly summoned by a Ouija Board. It also induces fear into those around it. Looking at a Phantom will considerably drop your sanity. Taking a photo of the Phantom will make it temporarily disappear.}
{=(poltergeist):{m:sgn({poltergeistnum}%{eprod})} {m:trunc({poltergeistnum}/{eprod})} One of the most famous Ghosts, a Poltergeist, also known as a noisy ghost, can manipulate objects around it to spread fear into its victims. A Poltergeist can throw huge amounts of objects at once. A Poltergeist is almost ineffective in an empty room.}
{=(banshee):{m:sgn({bansheenum}%{eprod})} {m:trunc({bansheenum}/{eprod})} A Banshee is a natural hunter and will attack anything. It has been known to stalk its prey one at a time until making its kill. A Banshee will only target one person at a time. Banshees fear the Crucifix and will be less aggressive when near one.}
{=(jinn):{m:sgn({jinnnum}%{eprod})} {m:trunc({jinnnum}/{eprod})} A Jinn is a territorial ghost that will attack when threatened. It has also been known to be able to travel at significant speed. A Jinn will travel at a faster speed if its victim is far away. Turning off the location's power source will prevent the Jinn from using its ability.}
{=(mare):{m:sgn({marenum}%{eprod})} {m:trunc({marenum}/{eprod})} A Mare is the source of all nightmares, making it most powerful in the dark. A Mare will have an increased chance to attack in the dark. Turning the lights on around the Mare will lower its chance to attack.}
{=(revenant):{m:sgn({revenantnum}%{eprod})} {m:trunc({revenantnum}/{eprod})} A Revenant is a slow but violent Ghost that will attack indiscriminately. It has been rumoured to travel at a significantly high speed when hunting. A Revenant will travel at a significantly faster speed when hunting a victim. Hiding from the Revenant will cause it to move very slowly.}
{=(shade):{m:sgn({shadenum}%{eprod})} {m:trunc({shadenum}/{eprod})} A Shade is known to be a Shy Ghost. There is evidence that a Shade will stop all paranormal activity if there are multiple people nearby. Being shy means the Ghost will be harder to find. The Ghost will not enter hunting mode if there are multiple people nearby.}
{=(demon):{m:sgn({demonnum}%{eprod})} {m:trunc({demonnum}/{eprod})} A Demon is one of the worst ghosts you can encounter. It has been known to attack without a reason. Demons will attack more often than any other Ghost. Asking a Demon successful questions on the Ouija Board won't lower the users sanity.}
{=(yurei):{m:sgn({yureinum}%{eprod})} {m:trunc({yureinum}/{eprod})} A Yurei is a Ghost that has returned to the physical world, usually for the purpose of revenge or hatred. Yurei have been known to have a stronger effect on peoples' sanity. Smudging the Yurei's room will cause it to not wander around the location for a long time.}
{=(oni):{m:sgn({oninum}%{eprod})} {m:trunc({oninum}/{eprod})} Oni's are a cousin to the Demon and possess extreme strength. There have been rumours that they become more active around their prey. Oni's are more active when people are nearby and have been seen moving objects at grerat speed. Being more active will make the Oni easier to find and identify.}
{=(hantu):{m:sgn({hantunum}%{eprod})} {m:trunc({hantunum}/{eprod})} A Hantu is a rare ghost that can be found in hot climates. They are known to attack often during cold weather. Lower temperatures can cause the Hantu to move at faster speeds. A Hantu will move slower in warmer areas.}
{=(yokai):{m:sgn({yokainum}%{eprod})} {m:trunc({yokainum}/{eprod})} A Yokai is a common type of ghost that is attracted to human voices. They can usually be found haunting family homes. Talking near a Yokai will anger it and increase its chance of attacking. When hunting, a Yokai can only hear voices close to it.}
{=(goryo):{m:sgn({goryonum}%{eprod})} {m:trunc({goryonum}/{eprod})} When a Goryo passes through a DOTS Projector, using a video camera is the only way to see it. A Goryo will usually only show itself on camera if there are no people nearby. They are rarely seen far from their place of death.}
{=(myling):{m:sgn({mylingnum}%{eprod})} {m:trunc({mylingnum}/{eprod})} A Myling is a very vocal and active ghost. They are rumoured to be quiet when hunting their prey. A Myling is known to be qquieter when hunting. Mylings more frequently make paranormal sounds.}
{=(comment):this is the output when evidence is input (when there is input that is not "help" or a ghost name. if input does not match any evidence, the whole chart will be output)}
{=(ev):{if({evidlength}!=0):Look for|Evidence}: }
{=(echeck):{if({{lghosts(1)}(1)}==0):
• {ghosts(1)}
> {ev}{e{{lghosts(1)}(2)}}}{if({{lghosts(2)}(1)}==0):
• {ghosts(2)}
> {ev}{e{{lghosts(2)}(2)}}}{if({{lghosts(3)}(1)}==0):
• {ghosts(3)}
> {ev}{e{{lghosts(3)}(2)}}}{if({{lghosts(4)}(1)}==0):
• {ghosts(4)}
> {ev}{e{{lghosts(4)}(2)}}}{if({{lghosts(5)}(1)}==0):
• {ghosts(5)}
> {ev}{e{{lghosts(5)}(2)}}}{if({{lghosts(6)}(1)}==0):
• {ghosts(6)}
> {ev}{e{{lghosts(6)}(2)}}}{if({{lghosts(7)}(1)}==0):
• {ghosts(7)}
> {ev}{e{{lghosts(7)}(2)}}}{if({{lghosts(8)}(1)}==0):
• {ghosts(8)}
> {ev}{e{{lghosts(8)}(2)}}}{if({{lghosts(9)}(1)}==0):
• {ghosts(9)}
> {ev}{e{{lghosts(9)}(2)}}}{if({{lghosts(10)}(1)}==0):
• {ghosts(10)}
> {ev}{e{{lghosts(10)}(2)}}}{if({{lghosts(11)}(1)}==0):
• {ghosts(11)}
> {ev}{e{{lghosts(11)}(2)}}}{if({{lghosts(12)}(1)}==0):
• {ghosts(12)}
> {ev}{e{{lghosts(12)}(2)}}}{if({{lghosts(13)}(1)}==0):
• {ghosts(13)}
> {ev}{e{{lghosts(13)}(2)}}}{if({{lghosts(14)}(1)}==0):
• {ghosts(14)}
> {ev}{e{{lghosts(14)}(2)}}}{if({{lghosts(15)}(1)}==0):
• {ghosts(15)}
> {ev}{e{{lghosts(15)}(2)}}}{if({{lghosts(16)}(1)}==0):
• {ghosts(16)}
> {ev}{e{{lghosts(16)}(2)}}}}
{=(comment):checks if the input is a ghost name or part of one, if true, returns the index value (base = 1) of that ghost}
{=(gcheck):{all({list(0):{alist}}!=|{in({list(0):{alist}}):{lghosts}}==true):{index({list(0):{alist}}):{replace({list(0):{alist}},. {list(0):{alist}} .):{lghosts}}}}}
{=(comment):instructions output}
{=(help):This custom command is for the game __Phasmophobia__. You can specify a ghost from the game to see info about that ghost, or you can list evidence to calculate potential matches to that evidence. To list evidence, separate the evidence between either tildes `~`, slashes `/`, or commas `,`. **DO NOT USE SPACES** unless there is a space in the name of the evidence.
Examples:
> `!ghost ghost orbs,prints`
> `!ghost emf/spirit box`
The tag will attempt to guess what you mean if you provide a substring of the name of the ghost or piece of evidence. Thus `polt` is a detectable shorthand version of the Poltergeist ghost name, and `orbs`,`prints`,`temp`,`box`, etc are all detectable evidence shorthands.
Ghosts:
> `{join(`, `):{ghosts}}`
Evidence:
> `{replace(-, ):{join(`, `):{evidence(2+)}}}`}
{=(comment):these set the embed content conditionally. either displays instructions, displays ghost info, or displays evidence matches}
{embed(title):__{any({list(0):{alist}}==|{list(0):{alist}}==help):Instructions:|{if({gcheck}!=):{ghosts({gcheck})}:|Evidence Match:}}__}
{embed(description):{any({list(0):{alist}}==|{list(0):{alist}}==help):{help}|{if({gcheck}!=):{{lghosts({gcheck})}(3+)}
Evidence: {e{{lghosts({gcheck})}num}}|
{if({evidlength}!=0):You reported: `{evidreported}`
That matches:}{echeck}}}}Embed
1 line{"color": 3092790, "footer": {"text": "For instructions type: {prefix}{tagname} help", "icon_url": ""}}Raw JSON
{
"id": 367677,
"created_at": "2020-10-10T08:14:15.000Z",
"tag_name": "ghost",
"nsfw": false,
"owner_id": "129419437911572480",
"uses": 68,
"description": "This custom command is for the game Phasmophobia. You can specify a ghost from the game to see info about that ghost, or you can list evidence to calculate potential matches to that evidence. To list evidence, separate the evidence between either tildes ~, slashes /, or commas ,. DO NOT USE SPACES unless there is a space in the name of the evidence. Information was gathered from: https://phasmophobia.fandom.com/\n\nExamples:\n!ghost ghost orbs,prints\n!ghost emf/spirit box\n\nThe tag will attempt to guess what you mean if you provide a substring of the name of the ghost or piece of evidence. Thus polt is a detectable shorthand version of the Poltergeist ghost name, and orbs,prints,temp,box, etc are all detectable evidence shorthands.",
"restricted": false,
"shared": true,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "632187193162465281",
"sharer": "129419437911572480",
"content": "{=(comment):these variables are only used in the footer}\n{=(prefix):!}\n{=(tagname):ghost}\n\n{=(comment):this makes the args into a list, and allows use of / in addition to ~ and , as separators}\n{=(alist):{replace(/,~):{join(-):{lower:{args}}}}}\n\n{=(comment):list of ghosts, lowercase list of ghosts, and list of evidence with a placeholder first element that bumps the index, but is never used or seen (because our alist is lowered and it's uppercase)}\n{=(ghosts):Spirit Wraith Phantom Poltergeist Banshee Jinn Mare Revenant Shade Demon Yurei Oni Hantu Yokai Goryo Myling}\n{=(lghosts):{lower:{ghosts}}}\n{=(evidence):NULL ghost-orbs spirit-box fingerprints emf-level-5 freezing-temperatures ghost-writing dots-projector}\n\n{=(comment):this checks if any of the first 3 args (separated by ~ or , or /) match any evidence substrings, and if so, returns the index number for that piece of evidence}\n{=(a2e):{all({list(0):{alist}}!=|{in({list(0):{alist}}):{evidence}}==true):{index({list(0):{alist}}):{replace({list(0):{alist}},. {list(0):{alist}} .):{evidence}}}} {all({list(1):{alist}}!=|{in({list(1):{alist}}):{evidence}}==true):{index({list(1):{alist}}):{replace({list(1):{alist}},. {list(1):{alist}} .):{evidence}}}} {all({list(2):{alist}}!=|{in({list(2):{alist}}):{evidence}}==true):{index({list(2):{alist}}):{replace({list(2):{alist}},. {list(2):{alist}} .):{evidence}}}}}\n\n{=(comment):Evidence variables with corresponding prime numbers and prime products. Triple products only used when it corresponds to a ghost match}\n{=(e1):No missing evidence.}\n{=(e2):Ghost Orbs}\n{=(e3):Spirit Box}\n{=(e5):Fingerprints}\n{=(e7):EMF Level 5}\n{=(e11):Freezing Temperatures}\n{=(e13):Ghost Writing}\n{=(e17):D.O.T.S Projector}\n\n{=(e6):{e2}, {e3}}\n{=(e10):{e2}, {e5}}\n{=(e14):{e2}, {e7}}\n{=(e15):{e3}, {e5}}\n{=(e21):{e3}, {e7}}\n{=(e22):{e2}, {e11}}\n{=(e26):{e2}, {e13}}\n{=(e33):{e3}, {e11}}\n{=(e34):{e2}, {e17}}\n{=(e35):{e5}, {e7}}\n{=(e39):{e3}, {e13}}\n{=(e51):{e3}, {e17}}\n{=(e55):{e5}, {e11}}\n{=(e65):{e5}, {e13}}\n{=(e77):{e7}, {e11}}\n{=(e85):{e5}, {e17}}\n{=(e91):{e7}, {e13}}\n{=(e119):{e7}, {e17}}\n{=(e143):{e11}, {e13}}\n{=(e187):{e11}, {e17}}\n{=(e221):{e13}, {e17}}\n{=(e78):{e2}, {e3}, {e13}}\n{=(e102):{e2}, {e3}, {e17}}\n{=(e110):{e2}, {e5}, {e11}}\n{=(e170):{e2}, {e5}, {e17}}\n{=(e195):{e3}, {e5}, {e13}}\n{=(e255):{e3}, {e5}, {e17}}\n{=(e273):{e3}, {e7}, {e13}}\n{=(e286):{e2}, {e11}, {e13}}\n{=(e357):{e3}, {e7}, {e17}}\n{=(e374):{e2}, {e11}, {e17}}\n{=(e385):{e5}, {e7}, {e11}}\n{=(e455):{e5}, {e7}, {e13}}\n{=(e595):{e5}, {e7}, {e17}}\n{=(e715):{e5}, {e11}, {e13}}\n{=(e1001):{e7}, {e11}, {e13}}\n{=(e1309):{e7}, {e11}, {e17}}\n\n{=(comment):this converts the index numbers gained above to the prime numbers that correspond to the evidence.}\n{=(e2e):{replace(4,5):{replace(5,7):{replace(6,11):{replace(8,17):{replace(7,13):{a2e}}}}}}}\n{=(evidlength):{index(end):{e2e} end}}\n\n{=(comment):just a nice display of what evidence the user input}\n{=(evidreported):{replace(&, ):{join(, ):{replace(-, ):{replace( ,&):{if({list(0):{join(~):{e2e}}}!=):{e{list(0):{join(~):{e2e}}}}}-{if({list(1):{join(~):{e2e}}}!=):{e{list(1):{join(~):{e2e}}}}}-{if({list(2):{join(~):{e2e}}}!=):{e{list(2):{join(~):{e2e}}}}}}}}}}\n\n{=(comment):this multiplies the prime numbers for each reported evidence together to generate an evidence product. a 1 is added to the end so if no evidence is submitted, the math block will not error, it will just equal 1}\n{=(eprod):{m:trunc({join(*):{e2e} 1})}}\n\n{=(comment):two letter variables for each ghost;contains the 3 evidence numbers that correspond to each ghost}\n{=(sp):3 7 13}\n{=(wr):3 7 17}\n{=(ph):3 5 17}\n{=(po):3 5 13}\n{=(ba):2 5 17}\n{=(ji):5 7 11}\n{=(ma):2 3 13}\n{=(re):2 11 13}\n{=(sh):7 11 13}\n{=(de):5 11 13}\n{=(yu):2 11 17}\n{=(on):7 11 17}\n{=(ha):2 5 11}\n{=(yo):2 3 17}\n{=(go):5 7 17}\n{=(my):5 7 13}\n\n{=(comment):the evidence product for each ghost. each number is unique to each ghost, and will tell us matches and missing evidence through use of math. e(ghostnum) = evidence pool}\n{=(spiritnum):{m:trunc({join(*):{sp}})}}\n{=(wraithnum):{m:trunc({join(*):{wr}})}}\n{=(phantomnum):{m:trunc({join(*):{ph}})}}\n{=(poltergeistnum):{m:trunc({join(*):{po}})}}\n{=(bansheenum):{m:trunc({join(*):{ba}})}}\n{=(jinnnum):{m:trunc({join(*):{ji}})}}\n{=(marenum):{m:trunc({join(*):{ma}})}}\n{=(revenantnum):{m:trunc({join(*):{re}})}}\n{=(shadenum):{m:trunc({join(*):{sh}})}}\n{=(demonnum):{m:trunc({join(*):{de}})}}\n{=(yureinum):{m:trunc({join(*):{yu}})}}\n{=(oninum):{m:trunc({join(*):{on}})}}\n{=(hantunum):{m:trunc({join(*):{ha}})}}\n{=(yokainum):{m:trunc({join(*):{yo}})}}\n{=(goryonum):{m:trunc({join(*):{go}})}}\n{=(mylingnum):{m:trunc({join(*):{my}})}}\n\n{=(comment):the main ghost variables. first element is either 0 or 1. 0 = match, 1 means no match. 2nd element is the number of the missing evidence. 3+ is description}\n{=(spirit):{m:sgn({spiritnum}%{eprod})} {m:trunc({spiritnum}/{eprod})} A Spirit is the most common Ghost you will come across however it is still very powerful and dangerous. They are usually discovered at one of their hunting grounds after an unexplained death. Using Smudge Sticks on a Spirit will stop it attacking for a long pereiod of time.}\n{=(wraith):{m:sgn({wraithnum}%{eprod})} {m:trunc({wraithnum}/{eprod})} A Wraith is one of the most dangerous Ghosts you will find. It is also the only known Ghost that has the ability of flight and has sometimes been known to travel through walls. Wraiths almost never touch the ground meaning it can’t be tracked by footsteps. Wraiths have a toxic reaction to Salt.}\n{=(phantom):{m:sgn({phantomnum}%{eprod})} {m:trunc({phantomnum}/{eprod})} A Phantom is a Ghost that can possess the living, most commonly summoned by a Ouija Board. It also induces fear into those around it. Looking at a Phantom will considerably drop your sanity. Taking a photo of the Phantom will make it temporarily disappear.}\n{=(poltergeist):{m:sgn({poltergeistnum}%{eprod})} {m:trunc({poltergeistnum}/{eprod})} One of the most famous Ghosts, a Poltergeist, also known as a noisy ghost, can manipulate objects around it to spread fear into its victims. A Poltergeist can throw huge amounts of objects at once. A Poltergeist is almost ineffective in an empty room.}\n{=(banshee):{m:sgn({bansheenum}%{eprod})} {m:trunc({bansheenum}/{eprod})} A Banshee is a natural hunter and will attack anything. It has been known to stalk its prey one at a time until making its kill. A Banshee will only target one person at a time. Banshees fear the Crucifix and will be less aggressive when near one.}\n{=(jinn):{m:sgn({jinnnum}%{eprod})} {m:trunc({jinnnum}/{eprod})} A Jinn is a territorial ghost that will attack when threatened. It has also been known to be able to travel at significant speed. A Jinn will travel at a faster speed if its victim is far away. Turning off the location's power source will prevent the Jinn from using its ability.}\n{=(mare):{m:sgn({marenum}%{eprod})} {m:trunc({marenum}/{eprod})} A Mare is the source of all nightmares, making it most powerful in the dark. A Mare will have an increased chance to attack in the dark. Turning the lights on around the Mare will lower its chance to attack.}\n{=(revenant):{m:sgn({revenantnum}%{eprod})} {m:trunc({revenantnum}/{eprod})} A Revenant is a slow but violent Ghost that will attack indiscriminately. It has been rumoured to travel at a significantly high speed when hunting. A Revenant will travel at a significantly faster speed when hunting a victim. Hiding from the Revenant will cause it to move very slowly.}\n{=(shade):{m:sgn({shadenum}%{eprod})} {m:trunc({shadenum}/{eprod})} A Shade is known to be a Shy Ghost. There is evidence that a Shade will stop all paranormal activity if there are multiple people nearby. Being shy means the Ghost will be harder to find. The Ghost will not enter hunting mode if there are multiple people nearby.}\n{=(demon):{m:sgn({demonnum}%{eprod})} {m:trunc({demonnum}/{eprod})} A Demon is one of the worst ghosts you can encounter. It has been known to attack without a reason. Demons will attack more often than any other Ghost. Asking a Demon successful questions on the Ouija Board won't lower the users sanity.}\n{=(yurei):{m:sgn({yureinum}%{eprod})} {m:trunc({yureinum}/{eprod})} A Yurei is a Ghost that has returned to the physical world, usually for the purpose of revenge or hatred. Yurei have been known to have a stronger effect on peoples' sanity. Smudging the Yurei's room will cause it to not wander around the location for a long time.}\n{=(oni):{m:sgn({oninum}%{eprod})} {m:trunc({oninum}/{eprod})} Oni's are a cousin to the Demon and possess extreme strength. There have been rumours that they become more active around their prey. Oni's are more active when people are nearby and have been seen moving objects at grerat speed. Being more active will make the Oni easier to find and identify.}\n{=(hantu):{m:sgn({hantunum}%{eprod})} {m:trunc({hantunum}/{eprod})} A Hantu is a rare ghost that can be found in hot climates. They are known to attack often during cold weather. Lower temperatures can cause the Hantu to move at faster speeds. A Hantu will move slower in warmer areas.}\n{=(yokai):{m:sgn({yokainum}%{eprod})} {m:trunc({yokainum}/{eprod})} A Yokai is a common type of ghost that is attracted to human voices. They can usually be found haunting family homes. Talking near a Yokai will anger it and increase its chance of attacking. When hunting, a Yokai can only hear voices close to it.}\n{=(goryo):{m:sgn({goryonum}%{eprod})} {m:trunc({goryonum}/{eprod})} When a Goryo passes through a DOTS Projector, using a video camera is the only way to see it. A Goryo will usually only show itself on camera if there are no people nearby. They are rarely seen far from their place of death.}\n{=(myling):{m:sgn({mylingnum}%{eprod})} {m:trunc({mylingnum}/{eprod})} A Myling is a very vocal and active ghost. They are rumoured to be quiet when hunting their prey. A Myling is known to be qquieter when hunting. Mylings more frequently make paranormal sounds.}\n\n{=(comment):this is the output when evidence is input (when there is input that is not \"help\" or a ghost name. if input does not match any evidence, the whole chart will be output)}\n{=(ev):{if({evidlength}!=0):Look for|Evidence}: }\n{=(echeck):{if({{lghosts(1)}(1)}==0):\n• {ghosts(1)}\n> {ev}{e{{lghosts(1)}(2)}}}{if({{lghosts(2)}(1)}==0):\n• {ghosts(2)}\n> {ev}{e{{lghosts(2)}(2)}}}{if({{lghosts(3)}(1)}==0):\n• {ghosts(3)}\n> {ev}{e{{lghosts(3)}(2)}}}{if({{lghosts(4)}(1)}==0):\n• {ghosts(4)}\n> {ev}{e{{lghosts(4)}(2)}}}{if({{lghosts(5)}(1)}==0):\n• {ghosts(5)}\n> {ev}{e{{lghosts(5)}(2)}}}{if({{lghosts(6)}(1)}==0):\n• {ghosts(6)}\n> {ev}{e{{lghosts(6)}(2)}}}{if({{lghosts(7)}(1)}==0):\n• {ghosts(7)}\n> {ev}{e{{lghosts(7)}(2)}}}{if({{lghosts(8)}(1)}==0):\n• {ghosts(8)}\n> {ev}{e{{lghosts(8)}(2)}}}{if({{lghosts(9)}(1)}==0):\n• {ghosts(9)}\n> {ev}{e{{lghosts(9)}(2)}}}{if({{lghosts(10)}(1)}==0):\n• {ghosts(10)}\n> {ev}{e{{lghosts(10)}(2)}}}{if({{lghosts(11)}(1)}==0):\n• {ghosts(11)}\n> {ev}{e{{lghosts(11)}(2)}}}{if({{lghosts(12)}(1)}==0):\n• {ghosts(12)}\n> {ev}{e{{lghosts(12)}(2)}}}{if({{lghosts(13)}(1)}==0):\n• {ghosts(13)}\n> {ev}{e{{lghosts(13)}(2)}}}{if({{lghosts(14)}(1)}==0):\n• {ghosts(14)}\n> {ev}{e{{lghosts(14)}(2)}}}{if({{lghosts(15)}(1)}==0):\n• {ghosts(15)}\n> {ev}{e{{lghosts(15)}(2)}}}{if({{lghosts(16)}(1)}==0):\n• {ghosts(16)}\n> {ev}{e{{lghosts(16)}(2)}}}}\n\n{=(comment):checks if the input is a ghost name or part of one, if true, returns the index value (base = 1) of that ghost}\n{=(gcheck):{all({list(0):{alist}}!=|{in({list(0):{alist}}):{lghosts}}==true):{index({list(0):{alist}}):{replace({list(0):{alist}},. {list(0):{alist}} .):{lghosts}}}}}\n\n{=(comment):instructions output}\n{=(help):This custom command is for the game __Phasmophobia__. You can specify a ghost from the game to see info about that ghost, or you can list evidence to calculate potential matches to that evidence. To list evidence, separate the evidence between either tildes `~`, slashes `/`, or commas `,`. **DO NOT USE SPACES** unless there is a space in the name of the evidence.\n\nExamples:\n> `!ghost ghost orbs,prints`\n> `!ghost emf/spirit box`\n\nThe tag will attempt to guess what you mean if you provide a substring of the name of the ghost or piece of evidence. Thus `polt` is a detectable shorthand version of the Poltergeist ghost name, and `orbs`,`prints`,`temp`,`box`, etc are all detectable evidence shorthands.\n\nGhosts:\n> `{join(`, `):{ghosts}}`\n\nEvidence:\n> `{replace(-, ):{join(`, `):{evidence(2+)}}}`}\n\n{=(comment):these set the embed content conditionally. either displays instructions, displays ghost info, or displays evidence matches}\n{embed(title):__{any({list(0):{alist}}==|{list(0):{alist}}==help):Instructions:|{if({gcheck}!=):{ghosts({gcheck})}:|Evidence Match:}}__}\n{embed(description):{any({list(0):{alist}}==|{list(0):{alist}}==help):{help}|{if({gcheck}!=):{{lghosts({gcheck})}(3+)}\n\nEvidence: {e{{lghosts({gcheck})}num}}|\n{if({evidlength}!=0):You reported: `{evidreported}`\n\nThat matches:}{echeck}}}}",
"embed": "{\"color\": 3092790, \"footer\": {\"text\": \"For instructions type: {prefix}{tagname} help\", \"icon_url\": \"\"}}",
"last_fetched": "2026-10-20T22:42:43.680Z"
}