![]() |
sendtorc2
Hi,
I would find a command like sendtorc2( <text>, <account> ); useful :o I often wanted to put something in RC, put didn't because it was only interesting for 1 or 2 staff and the others would just get spammed |
sendtonc()? Only people with NC can read it.
Otherwise, I think what you're asking for is near possible without a ****load of coding. |
Quote:
I just want to only a single person, like /scriptscan and other rc commands do |
Unless you can just do a sendpm() to each of the rcs..... (not sure if you can do .sendpm() on a rc object)
|
You can sendpm() to any players, and RC is a player, but sendpm() is not good enough.
We want to be able to send RC message to only account, there is no substitute |
Bump!
I think he means send the message ONLY to the RC accounts that are in the params[0] array. Such as: sendtorc2({"bscharff","Inverness"},"Hi Bloo & Invern!"); Would ONLY show "Hi Bloo & Invern!" to the RC accounts bscharff & Inverness. I would say to add sendtorc2(array, str), sendtonc2(array, str), and echo2(array, str) |
Those commands would not require an array to determine who to send to, it would simply send to the current player object (the player executing the script).
Which can be changed using a with block. |
Quote:
Actually, I suppose it might be just as easy to do something like: findPlayer( "cbk1994" ).echo2( "foo" ); and then you would be able to make a function like PHP Code:
|
| All times are GMT +2. The time now is 09:04 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.