I have this script that my friend gave me for zmud but i was trying to convert it into mush but its very confusing i was hoping someone could help me out? Here it goes
#CLASS {SSS|Misc|Fishing}
#CLASS {SSS|Misc|Fishing}
#CLASS {SSS|Misc|Fishing}
#CLASS {Misc|Fishing}
#CLASS {Misc|Fishing|fishscript} {disable}
#CLASS {Misc|Fishing|fishscript|fishtrigs}
#ALIAS casting {fishdir=%1} "Misc|Fishing|fishscript"
#ALIAS fishing {#if ("%1"="on") {#if (0=0) {#t+ fishscript;#say
[0;37;40mFishing on.;fishing=1} {#say [0;37;40mFishing is already on.}}
{#if ("%1"="off") {#if (0=1) {#t- fishscript;#say [0;37;40mFishing
off.;fishing=0} {#say [0;37;40mFishing is already off.}} {#if (%1=) {#if
(0=1) {#t- fishscript;#say [0;37;40mFishing off.;fishing=0} {#t+
fishscript;#say [0;37;40mFishing on.;fishing=1}} {#say [0;37;40mTurn
fishing on or off?}}}} "Misc|Fishing"
#VAR fishdir {s} {_nodef} "Misc|Fishing|fishscript"
#VAR distance {0} {0} "Misc|Fishing|fishscript"
#VAR fish {0} {0} "Misc|Fishing|fishscript"
#VAR broke {0} {0} "Misc|Fishing|fishscript"
#VAR jerktime {1.75} {_nodef} "Misc|Fishing"
#VAR teasetime {2.25} {_nodef} "Misc|Fishing"
#VAR fishing {0} {0} "Misc|Fishing"
#REGEX {^You feel a fish nibbling on your hook\.$} {#sub {A fish is
nibbling at your bait.};#alarm +2.25 {tease line}}
"Misc|Fishing|fishscript|fishtrigs"
#REGEX {(?:You stagger as a fish makes a large strike at your bait\.|You
see the water ripple as a fish makes a medium strike at your bait\.|You
feel a fish make a small strike at your bait\.)} {#sub {A fish takes the
bait!};#alarm +1.75 {jerk pole}} "Misc|Fishing|fishscript|fishtrigs"
#REGEX {^Relaxing the tension on your line, you are able to reel
again\.$} {#if (=0) {#sub {You prepare to reel the line in more.};reel
line}} "Misc|Fishing|fishscript|fishtrigs"
#REGEX {^You quickly jerk back your fishing pole and feel the line go
taut\. You've(?: hooked|)} {#SUB {};fish=1}
"Misc|Fishing|fishscript|fishtrigs"
#COND {(?:hooked |)a (.*) one!$} {#sub {You have a %1 fish on the
line!}} {regex}
#REGEX {^You move your fishing pole quickly back and forth hoping to
excite the interest} {#SUB {}} "Misc|Fishing|fishscript|fishtrigs"
#COND {of nearby fish\.$} {#sub {You tease your fishing line.}} {regex}
#REGEX {(^You tease your fishing line nervously.$|^With a short dipping
and raising motion, you tease your fishing line.$)} {#sub {You tease
your fishing line.}} "Misc|Fishing|fishscript|fishtrigs"
#REGEX {^You cock back your arm and smoothly cast a line into the nearby
water\. You judge} {#SUB {}} "Misc|Fishing|fishscript|fishtrigs"
#COND {the cast at about (\d+) feet\.$} {#sub {You cast the line %1
feet.};distance=%1} {regex}
#REGEX {^You tease your fishing line\.$} {#sub {You try to get the fish
to take the bait.}} "Misc|Fishing|fishscript|fishtrigs"
#REGEX {^You quickly jerk back your fishing pole, but the hook pulls free of the fish\.$} {#sub {Drat! He got away.. for now.}} "Misc|Fishing|fishscript|fishtrigs"
#REGEX {^You quickly jerk back your fishing pole, to no avail\.$} {#sub
{You jerk on the line, then look in the water. Oddly, you don't see any
fish.}} "Misc|Fishing|fishscript|fishtrigs"
#REGEX {^Playing your fishing pole skillfully, you take up the slack and
reel in some} {#SUB {}} "Misc|Fishing|fishscript|fishtrigs"
#COND {line\. You have (\d+) feet of line left to bring in\.$} {#if
(%1>1) {#sub {You reel the fish in closer. %1 feet left!}};#if (%1=1)
{#sub {You reel the fish in closer. 1 foot left!}};distance=%1} {regex}
#REGEX {^The fish tries to swim with the hook, drawing (\d+)
(?:foot|feet) of line\.$} {#if (%1=1) {#sub {The fish pulls 1 foot out.
%1 feet left!}};#if (%1>1) {#sub {The fish pulls %1 feet out. %1 feet
left!}};#add distance %1} "Misc|Fishing|fishscript|fishtrigs"
#REGEX {^The fish you've hooked struggles against the line and runs it
out (\d+) (?:foot|feet)\.$} {#if (%1=1) {#sub {The fish pulls 1 foot
out. %1 feet left!}};#if (%1>1) {#sub {The fish pulls %1 feet out. %1
feet left!}};#add distance %1} "Misc|Fishing|fishscript|fishtrigs"
#REGEX {^Your rod bends slightly as your fish tries to escape its barbed
tether, running} {#SUB {}} "Misc|Fishing|fishscript|fishtrigs"