How do I call on this.... PtokaX
 

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

How do I call on this.... PtokaX

Started by XPMAN, 29 May, 2005, 08:25:09

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

XPMAN

First, thanks alot for the tutorial on the rightclick, been working for while on putting it together :)

A problem for me though, simply cause i am still in learning mode ...lol, is I cannot get the text files called right in PtokaX. I wish to use the built in TEXT function, but nothing works. I can call the hub commands such as

user:SendData("$UserCommand 1 3 TESTHUB\\Hub PMs\\Your Inbox$<%[mynick]> !inbox ||")

But when i try the same syntax to display a txt in the text folder in the PtokaX folder, it simply shows the command in chat, not the text file.

I tried using the same :
user:SendData("$UserCommand 1 3 TESTHUB\\Hub PMs\\How to use$<%[mynick]> !itest ||")
But it only displayed  !test  in main chat instead of the txt file it was suppose to. I thought i was doing good till I hit this ...lol . I realize i could probably use a text bot, but I like the built in one in the hub software + its bugging the freaking #@%#$ out of me cause i know it can be done........ or can it?

Any help on this I would really appreciate.

Markitos

QuoteOriginally posted by XPMAN
First, thanks alot for the tutorial on the rightclick, been working for while on putting it together :)

A problem for me though, simply cause i am still in learning mode ...lol, is I cannot get the text files called right in PtokaX. I wish to use the built in TEXT function, but nothing works. I can call the hub commands such as

user:SendData("$UserCommand 1 3 TESTHUB\\Hub PMs\\Your Inbox$<%[mynick]> !inbox ||")

But when i try the same syntax to display a txt in the text folder in the PtokaX folder, it simply shows the command in chat, not the text file.

I tried using the same :
user:SendData("$UserCommand 1 3 TESTHUB\\Hub PMs\\How to use$<%[mynick]> !itest ||")
But it only displayed  !test  in main chat instead of the txt file it was suppose to. I thought i was doing good till I hit this ...lol . I realize i could probably use a text bot, but I like the built in one in the hub software + its bugging the freaking #@%#$ out of me cause i know it can be done........ or can it?

Any help on this I would really appreciate.

Check in ur ptokax the function Enable text files suport if u activated nd still getin the problem try plop's texter

Cheers...

jiten

Try this:

1. Copy your .txt files to your PtokaX/texts folder (you've done this);
2. Go to the Options tab and tick "Enable text files support";
3. Then, reload the .txt files with "!reloadtxt" in main;
4. Type !"filename" and the file content should appear.

Best regards

XPMAN

Did all that, my problem is....... it works fine as long as its typed in main chat. I was trying to figure out how to call upon the txt files in the text folder in my rightclick script i am working on. It simply sends the command..ex..   !test  in main chat without showing the file, while i can type  !test  in main chat and it shows the file like its suppose to. I am thinking it may be because the script is trying to call upon a file "outside" the scripts folder. I assumed it would work since the command is still sent to main chat.

Just can seem to get it to work in a right click :(

jiten

Try these:
user:SendData("$UserCommand 1 3 TESTHUB\\Hub PMs\\Your Inbox$<%[mynick]> !inbox||")
user:SendData("$UserCommand 1 3 TESTHUB\\Hub PMs\\How to use$<%[mynick]> !itest||")
The Main difference is the extra space between the command and the &.

Cheers m8

XPMAN

duh................a space......lol  imagine that :)  Thanks buddy. Setting up profile specific........ i am sure i will get stumped again and need help....lol  You guys are great!!!  Thanks again.

jiten

QuoteOriginally posted by XPMAN
duh................a space......lol  imagine that :)  Thanks buddy. Setting up profile specific........ i am sure i will get stumped again and need help....lol  You guys are great!!!  Thanks again.
Indeed, sometimes a simple thing can give us more headaches than a bigger one :D

Best regards

SMF spam blocked by CleanTalk