You need to post the full code (in code tags) and the full error if you want to get real help.ii. said:I tried that and had a problem it said expected { line 0, column 0, four times
switch ( Utility.Random( 4 ) )
{
case 0:
{
Item sandals = new Sandals();
sandals.Hue = Utility.RandomBirdHue;
EquipItem( sandals );
break;
}
case 1:
{
Item shoes = new Shoes();
shoes.Hue = 0;
EquipItem( shoes );
break;
}
case 3:
{
Item sandals = new Sandals();
sandals.Hue = 1;
EquipItem( sandals );
break;
}
}
switch ( Utility.Random( 1 ) )
{
case 0:
{
Item sandals = new Sandals();
sandals.Hue = 1;
EquipItem( sandals );
break;
}
}
bzk90 said:*sigh* and hes learned nothing
TMSTKSBK said:no...he's saying the dude that asked the question hasn't learned anything.
If he couldn't figure that out on his own, he won't "get it" by you just telling him
I learned that way too, it doesn't make it right.bacaw said:i know i learned this way, yet, then again we are all different.
if mobile is player //or something similar
sendmessage(you player)
Please don't go there.bzk90 said:and judging by your post history on runuo we can easily see that it is to early in your scripting career for you to consider yourself educated in runuo scripting, so your comment realy isnt valid
anyways lets try to stay on topic please
daat99 said:I learned that way too, it doesn't make it right.
I know that if I spent the time on reading more tutorials when I started then I would've had a lot less problems and questions.
90% of the people don't read the code you gave them, they just copy\paste it directly into the script even if it's absolutly isn't going to compile they'll try to compile it and run back and yell "Your code doesn't work, can someone else help me?"
Someone actually said that to me once when I told him to do this:
Now tell me, did he even tried to read the code?Code:if mobile is player //or something similar sendmessage(you player)
That's what I think is best to dobacaw said:Just read ur post in the Dragon Egg one as well (googlebite) i suppose ill only give them the general idea rather then code from now on, cuz there are a lot of people who post same qestions multiple times.
You were right on this 1 too.bacaw said:i only been scripting a couple months but i figured its nice of me to help someone out every now and then even if i go about it wrong
daat99 said:You were right on this 1 too.
I was only scripting for 3 months before I started to try to help out people.
I didn't knew much (I still don't) but I tried anyway and I learned a lot just from helping people solve their problems.
Well that's because I don't post on threads that I can't help or that someone else already did.bacaw said:Yah sure (still dont know much) lol ya always seem to know the answer in every thread ive read
and id say ive learned more helping the few people i have and reading what people have done then actually scripting a code myself