Thread: #r
View Single Post
  #2  
Old 03-24-2003, 07:45 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Re: #r

Quote:
Originally posted by osrs


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.

This is pure guesswork but I would try.

setstring this.names,"osrs","kaimetsu","stefan","jagen";
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote