FlexHub Forum

New Textcommand Variables!

Offline For_Ever_MeXxX

  • *
  • 2
  • ..:: Hard Beats ::.. 0Days! Reg-Only
New Textcommand Variables!
« on: May 05, 2012, 20:12:19 »
Hey,

I would like it to see two more variables for Textcommands like:

%[country] United Kingdom (There is only Countrycode)
%[user_connection] DSL, 0.1, 0.2 you know the Upload Speed..  (I think I found this in FlexHub.)

Would be great if u could add this two variables to FlexHub.


Edit://
%[user_client] DC++ (Client Name)
%[user_version] 0.799 (Client Version)
« Last Edit: May 15, 2012, 01:21:59 by For_Ever_MeXxX »

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: New Textcommand Variables!
« Reply #1 on: May 15, 2012, 01:26:51 »
The last 3 can be added easily, the country name is a bit tricky.

The countrycode is stored in userinfo in FlexHub, but the countryname isn't, and currently the lib we use to resolve the countrycode/name doesn't provide a function to retrieve the name without the IP. We'll consider this later.
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Offline For_Ever_MeXxX

  • *
  • 2
  • ..:: Hard Beats ::.. 0Days! Reg-Only
Re: New Textcommand Variables!
« Reply #2 on: May 15, 2012, 01:28:17 »
That would be great if u could add the other 3 variables...  :D

Re: New Textcommand Variables!
« Reply #3 on: May 15, 2012, 06:43:11 »
Nice ide For_Ever_MeXxX :)