Easier to Add Profiles
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Easier to Add Profiles

Started by BrotherBear, 24 August, 2006, 19:16:25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BrotherBear

Hi!

Is it possible when you create scripts that you could have a textfile where you
add the profiles you want to have, then the scripts call that textfile.

A little some profiles.xml under CFG folder.

Thanks in advance
Regards,

BrotherBear

BrotherBear

Regards,

BrotherBear

BrotherBear

LoL

I understand that no one had a clue about what I was asking, or?
Regards,

BrotherBear

Herodes

Quote from: BrotherBear on 29 August, 2006, 09:27:48
LoL

I understand that no one had a clue about what I was asking, or?
nope please make your request, question a bit more structured and more detailed,...

Tw?sT?d-d?v

is that your after a script that you can add your own profiles to hub other then master/op/vip  ect

so u just type !addprofile superop
and it saves in the profile.xml

am i on the right lines ?

BrotherBear

Sorry for my bad English and not understandable questions.

I vill try again :)

I wonder if you could make it easier to add profiles in all the scripts you use?

For example, the scripts use the Profiles.xml from the CFG folder.?
One place to add your profiles.

I have added 2 extra profiles in the Profiles.xml and it was many places
that I had to add those to get it to work.

I know that you scripters put alot of hard work on scripts for us and I thank you all
for this.

I hope this clears things up :)

Cheers
Regards,

BrotherBear

BrotherBear

Quote from: (uk)jay on 29 August, 2006, 13:44:09
is that your after a script that you can add your own profiles to hub other then master/op/vip  ect

so u just type !addprofile superop
and it saves in the profile.xml

am i on the right lines ?

Something like that, but I want it to spread to the scripts too, does it do that?
Regards,

BrotherBear

Anna

I know what he wants.. he wants all scripts to read from profile.xml, as it is now some scripts you have to manually edit to include any nonstandard profile.

Basically its not a script he is after (as I understand it) but more a question/hope that you scripters can agree on reading the profiles from profile.xml for any script you create and that way make them dynamic without manual editing

Pothead

The main problem i see with this, is that there is no "reload profiles" option.  So the hub has to be closed to adjust the profiles.  Same goes with ClientTags.xml, which i see much more use in adjusting while the hub is running.

BrotherBear

Quote from: Anna on 29 August, 2006, 15:23:18
I know what he wants.. he wants all scripts to read from profile.xml, as it is now some scripts you have to manually edit to include any nonstandard profile.

Basically its not a script he is after (as I understand it) but more a question/hope that you scripters can agree on reading the profiles from profile.xml for any script you create and that way make them dynamic without manual editing

Yess, Anna :)

Thats exactly what I mean.

Hmm, youre right about that it is not a script, sorry :(

Thanks Anna :)
Regards,

BrotherBear

BrotherBear

Quote from: Pothead on 29 August, 2006, 15:26:50
The main problem i see with this, is that there is no "reload profiles" option.  So the hub has to be closed to adjust the profiles.  Same goes with ClientTags.xml, which i see much more use in adjusting while the hub is running.

That is not a problem from my side, it is not so often you add a profile.
Regards,

BrotherBear

JueLz

I would like the command !addprofile
I am owner of the MzDistortion? Empire
the addy to my hub is mzdistortion.no-ip.org
____________________________________________
--=                        [HT 500]                          =--

JueLz

QuoteQuote from: (uk)jay on Today at 01:44:09 pm
is that your after a script that you can add your own profiles to hub other then master/op/vip  ect

so u just type !addprofile superop
and it saves in the profile.xml

am i on the right lines ?

Could  i please have the command !addprofile ?
I am owner of the MzDistortion? Empire
the addy to my hub is mzdistortion.no-ip.org
____________________________________________
--=                        [HT 500]                          =--

BrotherBear

Quote from: Mutor on 29 August, 2006, 23:19:38
You could pull profiles from the hub with either..

GetProfileIdx(ProfileName)      - Return ProfileNumber or -1 failed
GetProfileName(ProfileNumber)   - Return ProfileName or nil for failed

The reason you'll see this in many script is to allow [by profile] certain
feature of the script. What might be easier is to use an editor with a
Search & Replace In Files One of my editors [PsPad] has this feature.
feature. To be used with caution, but you could easily update all script
to include your new profiles.

Yes youre right.

I use NotePad++ to change your script, it works pretty good,
but I always forget someplace to change or add or even make
a mistake.

Thank you all anyway :)
Regards,

BrotherBear

SMF spam blocked by CleanTalk