Page 1 of 1

looking for check character name function

Posted: Sat Dec 01, 2012 6:14 am
by noobyone
Hello
I'm looking for a fuction to to call options depending on character name.
Something like:

Code: Select all

if charactername ("lolypop");
then loadPaths ("lolygoshop");
else loadPaths ("farmmem")
end
could someone give me some advice
thanks

Re: looking for check character lvl function

Posted: Sat Dec 01, 2012 6:34 am
by Ego95
rock and lisa helped me a few days ago. It should be:

Code: Select all

if player.Name == "MyChar" then

Re: looking for check character name function

Posted: Sat Dec 01, 2012 11:43 am
by noobyone
thank you