Author Topic: Core.SetUserValue  (Read 2259 times)

0 Members and 1 Guest are viewing this topic.

Offline Enuri

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
Core.SetUserValue
« on: 07 January, 2010, 11:42:15 »
Please add Core.SetUserValue(user table or nick, id, value) function to modify user data. (I tried to write my own, but failed). It needs to add some tags (ex. [Reg][ISP]) to user description. Or it maybe special function like Core.AddUserTag(user table or nick, tag), that can be called by script in ValidateNickArrival. Maybe this is better than SetUserValue.

I think this is important function, because there is only one way to add tags now:
1) user connects or sends myinfo
2) hub send real myinfo
3) script sends modified myinfo -- always double myinfo, bigger traffic and lower performance.

So it should be like:
1) user connects
2) script calls AddUserTag
3) hub always sends myinfo with this tag
« Last Edit: 07 January, 2010, 11:58:53 by Enuri »

PtokaX forum

Core.SetUserValue
« on: 07 January, 2010, 11:42:15 »