Ptokax sugestion (to PPK)
 

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

Ptokax sugestion (to PPK)

Started by -PT-B2S, 11 September, 2005, 22:01:54

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

-PT-B2S

Hello. I'm doing an "all in one" multilanguage script, and to make it "multilanguage", i have to do a bit things... one of them, is to translate all the commands. Of course there are some ptokax inbuild commands and i find to way to translate some of them, cause the lua language do it easily. There is one command (temporary OP) that the LUA language don't have a support...

To translate this command, i have to do this

-Example:
 -if cmd == !op then
 -return 1
 -Add the victim nick and profile to a table
 -reg victim as profile OP (my script uses own profiles, and doesn't use a profile called Operator that its necessary to this command)
 -send the victim MyInfo to the hub like it connects again. (to start beeing OP)
 -Add a funcion user disconected that, if nick  disconected is in the table, it will return to the last profile he had.


Its a bit difficult and complicated, so i sugest that PPK do a way to do this command by a simple LUA command.

Is there a way?

Thanks    

-PT-B2S

Yeah, that will be fine too Mutor.

Props

SMF spam blocked by CleanTalk