Quote:
Originally posted by Kaimetsu
'#R(string)' is equivalent to '#I(string,int(random(0,sarraylen(string)))'
|
I made this example,wors fine,as Kai said:
NPC Code:
if(created || timeout){
setstring this.names,osrs kaimetsu stefan jagen;
message #I(this.names,int(random(0,sarraylen(this.names))) );
}
timeout=0.05;
why this one don't work?
NPC Code:
if(created || timeout){
setstring this.names,osrs kaimetsu stefan jagen;
message #R(#s(this.names));
}
timeout=0.05;
I made anything wrong? if yes,i'm sorry but i still dont know how to work correctly with #R.