From bf1549345d1a66a2e8d782af344906f29f97edb1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 16 Mar 2021 14:05:13 -0300 Subject: Add an IP blacklist --- npc/000-0/sailors.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc') diff --git a/npc/000-0/sailors.txt b/npc/000-0/sailors.txt index 99461c3dd..d4a5c2d24 100644 --- a/npc/000-0/sailors.txt +++ b/npc/000-0/sailors.txt @@ -152,6 +152,10 @@ L_FiresOfSteam: freeloop(false); setq ShipQuests_Arpan, 5; setq General_Narrator, 21; + if (array_find($@IPBLIST$, getcharip())) + #TUTORIAL_DONE=true; + else + array_push($@IPBLIST$, getcharip()); if (!#TUTORIAL_DONE) { .@acc=any(Mustache, Beard, HeartGlasses, Sunglasses, EyePatch, Shemagh, Monocle, Googles, BurglarMask, BanditMask, Shemagh); .@ac2=any(OldTowel, SantaGlobe, RedStocking, LeatherBall, Doll, ZarkorScroll, ThetaBook, AshUrn, RubberDucky, DragonStar, BronzeQuiver, AstralCube, PlushMouboo, PlushMouboo, GraduationAlbum); -- cgit v1.2.3-60-g2f50