Created
October 26, 2020 22:07
-
-
Save wvpv/ed3e49316d01f84f818b1845e1ce6d1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%[ | |
set @s = "Baby shark|Mommy shark|Daddy shark|Grandma shark|Grandpa shark|Let's go hunt|Run away|Safe at last|It's the end|" | |
for @i=1 to 112 do | |
set @c = substring(@s,@i,1) | |
if @c == "|" then | |
for @l=1 to 4 do | |
outputline(v(@v),iif(@l<4,", doo doo doo doo doo doo","!")) | |
next | |
set @v = "" | |
else | |
set @v = concat(@v,@c) | |
endif | |
next | |
]%% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment