------
float pick1;
integer pick2;
float ranTime;
randomtimer()
{
ranTime = llFrand(60);
}
TextPicker()
{
pick1 = llFrand(15);
if (pick1 > 5)
{
llSay(0, "Walmart Owns you!"
;}
if (pick1 < 5)
{
llSay(0, "Keep those prices rolling!"
;}
if (pick1 < 15)
{
llSay(0, "-snicker- One, Two; Walmarts coming for you. Three, four; You better shut the door... -evil grin-"
;};
}
default
{
state_entry()
{
randomtimer();
llSetTimerEvent(ranTime);
}
timer()
{
randomtimer();
TextPicker();
}
}
-----
My problem is, with more then two if statements is that I have issues, because It always says the third choice. This is the best script I can come up with for it, im still pretty new. But, is there a way I can fix the problem with the parameters? I mean, if I wanted to add more things to say that would be even more of an issue. Could someone please help me out here?
