
05-21-2001, 11:59 AM
|
RadioActive Monkeeh
|
 |
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
|
|
Those arent hard.
This is like u can be in separate rooms and the radio shows the message u set from the other radio..
Syntax:sendmessage message goes here
(might be buggy im just scripting here , not tested)
Radio1 would have:
//Npc Made By LiquidIce
if (playerenters) {
setcharprop #c, #s(server.radio1);
timeout=1;
}
if (timeout) { setcharprop #c, #s(server.radio1); timeout=1; }
if (playerchats) {
tokenize #c;
if (strequals(#t(0),sendmessage)) {
this.count=1;
setstring server.radio2,;
while (this.count<tokenscount) {
setstring server.radio2,#s(server.radio2) #t(this.count);
setstring server.radio2,#T(#s(server.radio2));
this.count++;
}
}
}
and Radio 2
//Npc Made By LiquidIce
if (playerenters) {
setcharprop #c, #s(server.radio2);
timeout=1;
}
if (timeout) { setcharprop #c, #s(server.radio2); timeout=1; }
if (playerchats) {
tokenize #c;
if (strequals(#t(0),sendmessage)) {
this.count=1;
setstring server.radio1,;
while (this.count<tokenscount) {
setstring server.radio1,#s(server.radio1) #t(this.count);
setstring server.radio1,#T(#s(server.radio1));
this.count++;
}
}
} |
|
|