Draycos Goldaryn
Member
Is there any way to test if a string contains a specified "substring?"
example:
"alexus" would print "You suck"
"ionizer" would print "nice name"
"prionic" would print "nice name"
"Jessica Fiona Alexander III" would print "nice name"
"Big oinker" would print "You suck"
Is it possible to do this in rmxp? and if so,
How?[/FONT]
example:
Code:
if the player name contains "ion" anywhere
print "nice name"
else
print "You suck"
end
"alexus" would print "You suck"
"ionizer" would print "nice name"
"prionic" would print "nice name"
"Jessica Fiona Alexander III" would print "nice name"
"Big oinker" would print "You suck"
Is it possible to do this in rmxp? and if so,