diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:34:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:34:27 -0300 |
commit | 9877fd4ad81120af8e63e96d5d429092014dc017 (patch) | |
tree | ec045a0535109a2e0d82e0e8155eb01ed9776452 /world/map/npc/commands/python.txt | |
parent | aedbeb335a5ec5f55d22eace389076a18241ac9a (diff) | |
download | serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.tar.gz serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.tar.bz2 serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.tar.xz serverdata-9877fd4ad81120af8e63e96d5d429092014dc017.zip |
Remove all Legacy files
Diffstat (limited to 'world/map/npc/commands/python.txt')
-rw-r--r-- | world/map/npc/commands/python.txt | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/world/map/npc/commands/python.txt b/world/map/npc/commands/python.txt deleted file mode 100644 index 4f4fcc05..00000000 --- a/world/map/npc/commands/python.txt +++ /dev/null @@ -1,47 +0,0 @@ --|script|python-foot|32767 -{ - if (GM < 40 && GM < G_SYSOP) goto L_Prank; - set @python[0], if_then_else(@args$ != "", getcharid(3, @args$), BL_ID); - if (@python[0] < 1 || !(isloggedin(@python[0]))) set @python[0], BL_ID; // fallback to self - if (distance(BL_ID, @python[0]) >= 14) end; - if (gettimetick(2) - @python[1] < 3) end; - - set @python[1], gettimetick(2); - misceffect 69, @python[0]; - addtimer 380, strnpcinfo(0) + "::OnKill"; - end; - -OnKill: - if (!(isloggedin(@python[0]))) end; - gmlog "stomped " + if_then_else(@python[0] == BL_ID, "themselves", strcharinfo(0, @python[0])) + " with a giant foot!"; - set Hp, 0, @python[0]; - end; - -L_Prank: - if (gettime(6) == 4 && gettime(5) == 1) - goto L_DoPrank; - end; - -L_DoPrank: - if (#APRILPRANK == gettime(7)) - message strcharinfo(0), "You already stomped someone today."; - if (#APRILPRANK == gettime(7)) - end; - - set @python[0], if_then_else(@args$ != "", getcharid(3, @args$), BL_ID); - if (@python[0] < 1 || !(isloggedin(@python[0]))) set @python[0], BL_ID; // fallback to self - if (distance(BL_ID, @python[0]) >= 14) end; - if (gettimetick(2) - @python[1] < 3) end; - - // Execute the prank - set #APRILPRANK, gettime(7); - set @python[1], gettimetick(2); - misceffect 69, @python[0]; - addtimer 380, strnpcinfo(0) + "::OnKill"; - end; - - -OnInit: - registercmd "#python", strnpcinfo(0); - end; -} |