Редактирование:
NTSL Scripts
(раздел)
Перейти к навигации
Перейти к поиску
Внимание:
Вы не вошли в систему. Ваш IP-адрес будет общедоступен, если вы запишете какие-либо изменения. Если вы
войдёте
или
создадите учётную запись
, её имя будет использоваться вместо IP-адреса, наряду с другими преимуществами.
Анти-спам проверка.
Не
заполняйте это!
== Useful Malicious Scripts == === Tourretes Syndrome === '''Purpose:''' To annoy the station/make everything think that the station has Tourettes. $explodeContent = explode($content, " "); $wordReplace = pick($explodeContent); $content = replace($content, $wordReplace, pick("SHIT", "FUCK", "COCKSUCKER", "BULLSHIT", "CUNT", "MOTHERFUCKER")); === HONK === '''Purpose:''' HONK $explodeVector = explode($content, " "); $tempString = "HONK! "; $content = repeat($tempString, length($explodeVector)-1); === Rogue-Be-Gone === '''Purpose:''' To delay the crew knowing about you being rogue. if(find(lower($content), "rogue") || find(lower($content), "roug")) { $pass = false; } === No Shuttle, No Problems === '''Purpose:''' To stop the crew begging for a shuttle. (It's a copy+pasta) if(find(lower($content), "shuttle") || find(lower($content), "call")) { $pass = false; } === Viva La Revolution! === '''Purpose:''' To help disorganize the heads during a rev, they won't be able to make orders over the radio! if(find($job, vector("Captain", "Head of Security", "Head of Personnel", "Chief Engineer", "Chief Medical Officer", "Research Director"))) { $pass = false; } === Remove Activation === '''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> and you can enable or disable any script that you have between the if statement.<br> <br> '''Protip:''' The phrase will not broadcast on the radio. It doesn't matter how you say it, as long as you say that single word. $passphrase = "cheezit!"; if(find($content, $passphrase)) { $pass = 0; if(mem($passphrase) == 1) { mem($passphrase, 0); } else { mem($passphrase, 1); } } if(mem($passphrase) == 1) { // Insert code here. I recommend putting the annoying code here (Tourettes & HONK) // so you can tease the station. Ideally, put it in a function. } === Voice Synthesizer === '''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> ordering the AI to call the shuttle to make your escape, pretend to be the Captain and get<br> the crew very mad.<br> <br> '''How to use:''' /voice <First_Name> <Last_Name> <Job_Title> <Content><br> <br> '''Things to look out for:'''<br> *The AI being smart and realizing it is a fake message. *Other crew members discovering that it is a fake message by the italics that the fake voice has. <br> $explodeVec = explode($content, " "); if(length($explodeVec) > 4) { $userCmd = at($explodeVec, 1); if($userCmd == "/voice") { $newSource = at($explodeVec, 2) + " " + at($explodeVec, 3); $newJob = at($explodeVec, 4); $newContent = substr($content, length(" " + $userCmd + " " + $newSource + " " + $newJob + " "), length($content)+1); $content = $newContent; $job = $newJob; $source = $newSource; } } === Choreographed Always Look on the Bright Side of Life === <pre> //to bring some joy to a station in dire need just say "/happy all" over general radio //to bring joy to a single person one just needs to say "/happy [insert downer]" //remember to fill the authority slot with your name //and as always capitalisation is important $authority ="[insert name here]"; $Bright = vector("Some things in life are bad,They can really make you mad","Other things just make you swear and curse.","When you're chewing on life's gristle ","Don't grumble, give a whistle","And this'll help things turn out for the best...","And... always look on the bright side of life... tudum tudu-tudu-tudum","Always look on the light side of life... tudum tudu-tudu-tudum","If life seems jolly rotten","There's something you've forgotten","And that's to laugh and smile and dance and sing.","When you're feeling in the dumps","Don't be silly, chumps!","Just purse your lips and whistle - that's the thing.","And... always look on the bright side of life... tudum tudu-tudu-tudum","Always look on the light side of life... tudum tudu-tudu-tudum","For life is quite absurd","And death's the final word","You must always face the curtain with a bow.","Forget about your sin - give the audience a grin","Enjoy it - it's your last chance anyhow.","So always look on the bright side of death tudum tudu-tudu-tudum","Just before you draw your terminal breath tudum tudu-tudu-tudum","Life's a piece of shit","When you look at it","Life's a laugh and death's a joke, it's true.","You'll see it's all a show","Keep 'em laughing as you go","Just remember that the last laugh is on you.","And always look on the bright side of life... tudum tudu-tudu-tudum","Always look on the right side of life... tudum tudu-tudu-tudum","Come on guys, cheer up!","Always look on the bright side of life... tudum tudu-tudu-tudum","Always look on the bright side of life... tudum tudu-tudu-tudum","Worse things happen at sea, you know.","Always look on the bright side of life... tudum tudu-tudu-tudum","I mean - what have you got to lose?","You know, you come from nothing - you're going back to nothing.What have you lost? Nothing!","Always look on the right side of life... tudum tudu-tudu-tudum"); def implode($vector) { $str = at($vector, 1); remove($vector, $str); if(length($vector) > 0) { $str += " "; $str += implode($vector); } return $str; } if (mem("Happy") == mem("invalid")) { mem("Happy","0"); } if($source == $authority) { if(at(explode($content, " "), 1) == "/happy") { $vec = explode($content, " "); remove($vec, "/happy"); $name = implode($vec); $pass = 0; mem($name,$name); } if(at(explode($content, " "),1) == "/unhappy") { $pass = 0; $vec = explode($content, " "); remove($vec, "/unhappy"); $temp = implode($vec); mem($temp, 0); } } if ("all" == mem("all")) { $temp = mem("Happy"); $count = tonum($temp); $content = at($Bright,$count); $count = $count +1; $temp2 = length($Bright); if ($count > $temp2) { $count = 1; } $temp3 = tostring($count); mem("Happy",$temp3); } if($source == mem($source)) { $output = implode($Bright); $content = $output; } if ($pass == 0 && $job =="AI") { $pass = 1; $content = "beep"; }</pre> === Misleading Locations === Copy and paste this into the def Initialize() block in the [[#English_To_Pirate_Translator|English to Pirate -translator]]. You can also change words within the "" to suit any other needs like making "blood rune" to "retard". Be sure to go into other comm channels, copy/paste and set active for maximum evil laughter. <pre> $words = vector("scripts", "clown", "storage", "brig", "maintenance", "bar", "main", "escape", "sec", "medbay", "brig", "arrivals", "cargo", "engineering", "science", "security", "bar", "vacant", "chapel", "bridge", "dorms", "locker room", "office", "donuts", "upload", "ass", "solars", "escape", "core", "heart", "engineering", "botany", "locker room", "science"); </pre>
Описание изменений:
Пожалуйста, учтите, что любой ваш вклад в проект «MassMeta» может быть отредактирован или удалён другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см.
MassMeta:Авторские права
).
НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!
Отменить
Справка по редактированию
(в новом окне)
Навигация
Персональные инструменты
Вы не представились системе
Обсуждение
Вклад
Создать учётную запись
Войти
Пространства имён
Статья
Обсуждение
русский
Просмотры
Читать
Править
Править код
История
Ещё
Поиск
/tg/station 13
Главная страница
Новым игрокам
Правила
Профессии
Гайды
Предметы
Локации
Карты
Игровые режимы
Вклад
Руководство по участию в разработке билда
Маппинг
Спрайтинг
Руководство по пониманию кода
Разработка
Wiki
Свежие правки
Случайная страница
Инструменты
Ссылки сюда
Связанные правки
Служебные страницы
Сведения о странице