R77 Community Forum Archive

Battle.net => Bot Development => Fail Bot => Topic started by: Reason on March 14, 2009, 12:39:05 PM

Title: I need some ideas...
Post by: Reason on March 14, 2009, 12:39:05 PM
We'll i just recently added the option for variables in chat, and I came up with an idea... What if i made a 100% customize able Variable System...

Example
Quote
To Get a Random user in the channel you would do
%channel(%rand(%co))
Explanation:
%channel (integer)
 Gets user name of the user in the position Integer in the channel
%rand (integer)
 Gets a random number with integer being the max
%co
 The current channel count
Another Example
Quote
To get a random users clan
%channel(%rand(%co)).clan
or to get a ping
%channel(%rand(%co)).ping
Or like hero and i were talkinga bout being able to make your own variables to replace current ones so like you could make
Channel.RandomUser = %channel(%rand(%co))
and Channel.RandomUser.Ping would be the same as
%channel(%rand(%co)).ping

So What do u guys think?
And what variables should be built in for users to access?