My own +help
 

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

My own +help

Started by moo, 10 December, 2007, 11:06:05

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

moo

Hi ,
I have a lot of scripts which use the command +help (trivia,vote,message board and even ptokax ) and i wanna have my own +help . When someone type +help or !help it will appear to him my own message...but I'd be glad if it will appear different message to each profile.


Thank you for previous support ..you're the best guys.

CrazyGuy

Well, the easiest way to establish this is by writing help files using textcommands.
I would recommend to use a different name than just +help because this is used for PtokaX inbuild commands.
If you want different help files for each profile, you could append the profile name to the textcommand name.
For example:

help_operator
help_master
help_unregistered

Textcommands should be saved as .txt files in the PtokaX/text folder.
The filename will be the command name.
Although this gives some flexability, this does not prevent users from reading help files of other profiles (i.e. all textcommands are by default available to all profiles). If you want to add any limitations, it needs to be scripted.

Lemmy know how this helps you  :)

moo

this is really the simplest way ...but i don't wanna let users to read help_master or help_op ..
Each profile should be able to read only his help file.
Do you thinks this is possible ?

rEALx


I think u r looking for TextCommands 1.0e LUA 5.0/5.1 by Mutor

Quote
   TextCommands 1.0e LUA 5.0/5.1
   
   By Mutor        04/23/06

   Generates a list of text files in the specified folder
   Sends context menus (right click) to specified users.

   **IMPORTANT NOTE: This script requires bluebear's Px extension
   library, PxUtilities. It's available for both Lua 5.0.2 & Lua 5.1
   This script will not work without it, and it's free. With this lib
   we can avoid the dreaded shell pop up.

This script has an option to send help files to all and specific help files to OPs.

Get it here http://board.ptokax.ath.cx/index.php?topic=6868.0

rEALx


SMF spam blocked by CleanTalk