NTSL Scripts: Difference between revisions
m
Fixed dead link, other small fixes.
imported>Kosmos m (Undoing all of this shit.) |
imported>Kosmos m (Fixed dead link, other small fixes.) |
||
Line 1: | Line 1: | ||
Script repository. Place your | Script repository. Place your scripts here. | ||
==Useful Non-Malicious Scripts== | ==Useful Non-Malicious Scripts== | ||
Line 28: | Line 26: | ||
} | } | ||
=== Less | === Less Annoying Job Indicator === | ||
Only shows abbreviations of job titles instead of full titles. | Only shows abbreviations of job titles instead of full titles. | ||
Line 92: | Line 90: | ||
$source = $source + " (" + $foo + ")"; } | $source = $source + " (" + $foo + ")"; } | ||
=== Selective | === Selective Mute === | ||
By Matilda.<br> | By Matilda.<br> | ||
Turn a wall com to 146.1 to listen to the output of the script.<br> | Turn a wall com to 146.1 to listen to the output of the script.<br> | ||
Line 357: | Line 355: | ||
// Script End | // Script End | ||
===Quiz Bot=== | === Quiz Bot === | ||
A bot which will ask math additions and keep track of a person's score. You can use /score to display your score. It uses the new time() feature to know when time is up asking a question. | A bot which will ask math additions and keep track of a person's score. You can use /score to display your score. It uses the new time() feature to know when time is up asking a question. | ||
Line 448: | Line 446: | ||
} | } | ||
==Useful Malicious Scripts== | == Useful Malicious Scripts == | ||
===Tourretes Syndrome=== | === Tourretes Syndrome === | ||
'''Purpose:''' To annoy the station/make everything think that the station has Tourettes. | '''Purpose:''' To annoy the station/make everything think that the station has Tourettes. | ||
Line 457: | Line 455: | ||
$content = replace($content, $wordReplace, pick("SHIT", "FUCK", "COCKSUCKER", "BULLSHIT", "CUNT", "MOTHERFUCKER")); | $content = replace($content, $wordReplace, pick("SHIT", "FUCK", "COCKSUCKER", "BULLSHIT", "CUNT", "MOTHERFUCKER")); | ||
===HONK=== | === HONK === | ||
'''Purpose:''' HONK | '''Purpose:''' HONK | ||
Line 464: | Line 462: | ||
$content = repeat($tempString, length($explodeVector)-1); | $content = repeat($tempString, length($explodeVector)-1); | ||
===Rogue-Be-Gone=== | === Rogue-Be-Gone === | ||
'''Purpose:''' To delay the crew knowing about you being rogue. | '''Purpose:''' To delay the crew knowing about you being rogue. | ||
Line 472: | Line 470: | ||
} | } | ||
===No Shuttle, No Problems=== | === No Shuttle, No Problems === | ||
'''Purpose:''' To stop the crew begging for a shuttle. (It's a copy+pasta) | '''Purpose:''' To stop the crew begging for a shuttle. (It's a copy+pasta) | ||
Line 480: | Line 478: | ||
} | } | ||
===Viva La Revolution!=== | === Viva La Revolution! === | ||
'''Purpose:''' To help disorganize the heads during a rev, they won't be able to make orders over the radio! | '''Purpose:''' To help disorganize the heads during a rev, they won't be able to make orders over the radio! | ||
Line 488: | Line 486: | ||
} | } | ||
===Remove Activation=== | === Remove Activation === | ||
'''Purpose:''' Have a script you don't want on all the time? Well lucky for you<br> | '''Purpose:''' Have a script you don't want on all the time? Well lucky for you<br> | ||
there's a way to overcome that. Say on the radio the hidden passphrase, of your choice,<br> | there's a way to overcome that. Say on the radio the hidden passphrase, of your choice,<br> | ||
Line 514: | Line 512: | ||
} | } | ||
===Voice Synthesizer=== | === Voice Synthesizer === | ||
'''Purpose:''' To trick the crew into thinking you are a high ranking officer.<br> | '''Purpose:''' To trick the crew into thinking you are a high ranking officer.<br> | ||
Such possible scenarios include: Framing your target by admitting to murder on radio,<br> | Such possible scenarios include: Framing your target by admitting to murder on radio,<br> | ||
Line 544: | Line 542: | ||
} | } | ||
==Useful Snippets and Functions== | == Useful Snippets and Functions == | ||
===Implode=== | === Implode === | ||
Does the opposite of Explode(). Takes a vector (1st arg) and turns it into a string with a seperator (2nd arg) in between each Vector entry.<br> | Does the opposite of Explode(). Takes a vector (1st arg) and turns it into a string with a seperator (2nd arg) in between each Vector entry.<br> | ||
Line 569: | Line 567: | ||
} | } | ||
===Broadcast All=== | === Broadcast All === | ||
Broadcasts to all the department frequencies. Takes all the regular Broadcast() arguments except for frequency. | Broadcasts to all the department frequencies. Takes all the regular Broadcast() arguments except for frequency. |