FlexHub Forum

help motd

help motd
« on: October 29, 2011, 21:27:38 »
Hi all, I would like to know if you imposed the motd? parameters and accepts the motd? as% [nick] etc. etc.

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: help motd
« Reply #1 on: October 30, 2011, 09:37:58 »
Welcome Black-Dragon  ;)

Take a look on manual or use function search in the forum please  ;)

NB. for motd use commands ---> !addcmd motd -o44 -p-1 -m10 -u-1 -h "your motd"
NB. manual download ---> http://www.flexhub.org/forum/index.php?action=downloads;cat=8
NB. use Search ---> variable

Those are variables available for use in FlexHub:
(can be used in MOTD, commands etc)

%[address]
 - Hub address
%[bot]
 - Hub bot name
%[date]
 - Hub local date
%[desc]
 - Hub description
%[email]
 - Hub owner's email
%[hub]
 - Hub name
%[hubinfo]
 - This is a short message set with command !set hub_info, and can contain variables itself
%[lang]
 - Language of hubsoft
%[minshare]
 - Hub minimum share
%[minslots]
 - Hub minimum slots
%[minsharedownload]
 - Minimum share to use the hub
%[opchat]
 - Opchat name
%[owner]
 - Hub owner
%[platform]
 - Host's platform (Windows or Linux)
%[svn]
 - Hub svn number
%[time]
 - Hub local time
%[topic]
 - Hub topic
%[totalshare]
 - Hub total share
%[uptime]
 - Hub uptime
%[usercount]
 - Hub user count
%[userpeak]
 - Highest user count since hub start
%[usersnmdc]
 - Hub NMDC user count
%[usersadc]
 - Hub ADC user count
%[version]
 - Hub version
%[user_countrycode]
 - User's country code
%[user_desc]
 - User's description
%[user_email]
 - User's email
%[user_hubport]
 - Port user is using to connect to the hub
%[user_ip]
 - User's IP
%[user_iprofile]
 - Integer showing profile level
%[user_ipactive]
 - Shows Active or Passive
%[user_isop]
 - Shows Operator or empty string
%[user_login]
 - Login time
%[user_normalhubs]
 - Number of unregged hubs in users tag
%[user_name]
 - User's nickname
%[user_ophubs]
 - Number of hubs registered with key in users tag
%[user_port]
 - Port user is using for active connections
%[user_protocol]
 - Protocol used by user
%[user_reghubs]
 - Number of registered hubs in users tag
%[user_share]
 - User's share
%[user_slots]
 - User's opened slots
%[user_speed]
 - On ADC shows the reported (by client) speed, on NMDC shows limiter value
%[user_sprofile]
 - Lavel of users profile
%[user_tag]
 - User's tag
%[user_totalhubs]
 - Total number of hubs in users tag
%[user_reginfo]
 - This is a short message set with command !set reg_info, and can contain variables itself
%[user_downloadinfo]
 - A short message displaying whether searching and downloading is enabled or not in the hub.
(Like this "Downloading and searching is enabled, max. 3 searches in 50 seconds.")
%[history]
 - Display last 15 lines of main chat history
% quote]
 - Display a quote
 
 See you later ;-)
« Last Edit: October 30, 2011, 09:50:25 by massi »

Re: help motd
« Reply #2 on: November 24, 2011, 22:58:01 »
Please note that the variable is %[user_isactive] not %[user_ipactive]

(it's also wrong in the included chm documentation)

// Mike

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: help motd
« Reply #3 on: November 25, 2011, 00:19:03 »
Noted, thx. Will be fixed on next update of chm.
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.

Re: help motd
« Reply #4 on: November 26, 2011, 18:15:37 »
also on next update there will be an option that will show all avaliable variables and their current value using the command showcmd in the hub


/1d

Re: help motd
« Reply #5 on: July 14, 2012, 22:55:02 »
[22:54:22] <·!¦[·ÃЀ·]¦!·> *** !addcmd motd -o2 -p-1 -m10 -u-1 -h+motd "
!!!!!!!!!!!!!   !!     !!                                             
!!!!!!!!!!!!!!! !!!!   !!!!                                             
 !!!!!!!!!!!!!   !!!   !!!!                                             
     !!!!!       !!   !!!!!!!      !!!!!       !!  !!!!        !!!!!  Welcome 
     !!!!!      !!!!  !!!!!!!!  !!!!!!!!!!    !!!!!!!!!!!    !!!!!!!!!   
     !!!!!      !!!!  !!!!!!!  !!!!!!!!!!!!   !!!!!!!!!!!!  !!!!  !!!!!
     !!!!!      !!!!   !!!!     !!     !!!!   !!!!    !!!!  !!!!!!  !!  • Vota Il Nostro Hub http://www.dchublist.com/hub/30762
     !!!!!      !!!!   !!!!      !!!!!!!!!!   !!!!    !!!!   !!!!!!!!! 
     !!!!!      !!!!   !!!!    !!!!!!!!!!!!   !!!!    !!!!     !!!!!!!!
     !!!!!      !!!!   !!!!    !!!!    !!!!   !!!!    !!!!  !!!    !!!!
     !!!!!      !!!!   !!!!!!!!!!!!!!!!!!!!!  !!!!    !!!!  !!!!!!!!!!!
      !!!        !!!    !!!!!!! !!!!!!! !!!!  !!!     !!!!   !!!!!!!!!
   
   !!!!!!!!!!!!                              !!!                   !!      !!                                             
  !!!!!!!!!!!!!                              !!!!                 !!!!    !!!! • Visita Il Nostro Forum http://adf.ly/7wh71                                           
  !!!!!!!!!!!!!                              !!!!                 !!!!     !!!                                           
  !!!!           !!       !!      !!!!       !!!!   !!      !!!  !!!!!!!   !!        !!!!       !!   !!!        !!!!!     
  !!!!          !!!!     !!!!  !!!!!!!!!!    !!!!  !!!!     !!!  !!!!!!!! !!!!    !!!!!!!!!!   !!!!!!!!!!!    !!!!!!!!!! 
  !!!!!!!!!!!!   !!!!   !!!!  !!!!!!!!!!!!   !!!!  !!!!    !!!!  !!!!!!!  !!!!   !!!!!!!!!!!!  !!!!!!!!!!!!  !!!!!  !!!! 
  !!!!!!!!!!!!   !!!!   !!!!  !!!!     !!!!  !!!!  !!!!    !!!!   !!!!    !!!!  !!!!!    !!!!  !!!!!   !!!!  !!!!!!  !!! 
  !!!!            !!!! !!!!   !!!!     !!!!  !!!!  !!!!    !!!!   !!!!    !!!!  !!!!      !!!  !!!!    !!!!   !!!!!!!!!   
  !!!!             !!! !!!!   !!!!     !!!!  !!!!  !!!!    !!!!   !!!!    !!!!  !!!!     !!!!! !!!!    !!!!      !!!!!!!!
  !!!!             !!!!!!!    !!!!    !!!!!  !!!!  !!!!!   !!!!   !!!!    !!!!  !!!!!    !!!!  !!!!    !!!!  !!!!    !!!!
  !!!!!!!!!!!!!     !!!!!      !!!!!!!!!!!   !!!!   !!!!!!!!!!!   !!!!!!!!!!!!   !!!!!!!!!!!   !!!!    !!!!  !!!!!!!!!!!!
  !!!!!!!!!!!!!      !!!!       !!!!!!!!!    !!!!   !!!!!!! !!!    !!!!!!! !!!     !!!!!!!!    !!!!     !!!   !!!!!!!!!   ¸.´)(`·[  TH€ ߀§T  HÜß]·´)(` .¸"

[22:54:22] <·!¦[·ÃЀ·]¦!·> Error: Bad or missing command Use !addcmd -h for more details.

Offline sergius_s

  • *
  • 236
  • Be yourself...
Re: help motd
« Reply #6 on: June 01, 2013, 10:05:51 »
thanks massi, thanks to all  ;)
- I'm sorry for my terrible english...