Author Topic: Unique Profile ID String  (Read 1947 times)

0 Members and 1 Guest are viewing this topic.

Offline Snooze

  • Scripter
  • Viking
  • ******
  • Posts: 606
  • Karma: +54/-3
    • DiXBoT Website
Unique Profile ID String
« on: 14 March, 2008, 17:52:51 »
To make it easier for large scripts to setup commands rights per profile, it would be sweet if each profile had a unique ID.
This would prevent command rights to change if/when a new profile were created.

This would not exclude having profile listed the way we do today:

0 = Master
1 = Operator
3 = VIP
4 = Reg

What im suggesting is that each profile would also have a extra identifier such as:

0 = Master with ID "WP4Q"

This might be called with ProfMan.ID(tNick) returning string ID or nil for unregged

This would really make AIO scripting a lot easier with custom profiles :-)

If anyone has a better idea of how to control cmd rights, Im all ears :D


Using custom PtokaX profile rights might be even better...
As in having the option to add a custom profile right in PtokaX and "just" assing this right to the Profiles. (Already suggested by Mutor)
« Last Edit: 14 March, 2008, 18:02:35 by Snooze »

PtokaX forum

Unique Profile ID String
« on: 14 March, 2008, 17:52:51 »