Some beginner mudlet help.

Re: Some beginner mudlet help.

Postby abraxsis » Fri Dec 26, 2014 10:27 pm

Tsuman wrote:if matches[2] == "ant" then
send("wraithtouch "..matches[3])
else
send("deathgrip "..matches[3])
send("release")
end

what about
if matches[2] == "ant" then
send ("wraithtouch ant")
else send ("deathgrip"..matches[2])
end

I noticed you have matches [2] at the beginning and matches [3] later on, if im thinking right they should be matches [2]

---- sorry, looks like parsec beat me to the punch -----
Abraxsis

--------------------------------------------------------------------------------------------------------
This space for rent. Terms available upon request.
User avatar
abraxsis
 
Posts: 10
Joined: Tue Oct 28, 2014 11:09 pm
Location: The deepest darkest recesses of your nightmares
Status: Offline

Re: Some beginner mudlet help.

Postby *juggleblood* » Sat Dec 27, 2014 1:30 am

Tsuman wrote:
if matches[2] == "ant" then
send("wraithtouch "..matches[3])
else
send("deathgrip "..matches[3])
send("release")
end


typo...You changed matches[2] to matches[3]
Talk to the clown.
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Previous

Return to Mudlet - unlimited possibilities

Who is online

Users browsing this forum: No registered users and 6 guests