PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Request for scripts => Topic started by: Mikey on 21 February, 2009, 18:01:29

Title: Custom Rightclick
Post by: Mikey on 21 February, 2009, 18:01:29
I have searched the board and not come across a custom rightclick script for the new API. Not sure if I am looking over it but if one doesnt exist can we get one and if there is one and I am missing it could someone please point it out. Thanks!
Title: Re: Custom Rightclick
Post by: Madman on 21 February, 2009, 20:30:44
Custom rightclick?

You could look at Mutors PxCommands...
Title: Re: Custom Rightclick
Post by: Mikey on 21 February, 2009, 23:38:12
Yeah I looked at that but it also has all the PtokaX commands...I need one that I can make just for certain commands I want.
Title: Re: Custom Rightclick
Post by: Mikey on 22 February, 2009, 00:35:08
I know...but I dont need all the other commands...thats my point. I tried to take all the other commands out but apparently I screwed up somewhere and keep causing errors. Then I fix one and get another.
Title: Re: Custom Rightclick
Post by: CrazyGuy on 22 February, 2009, 01:21:38
A suggestion to simply stop commands you don't want from being send is to change the profile permissions to a non-existing profile. For example -2. Nobody will have that, thus the commands will not be send :)
Title: Re: Custom Rightclick
Post by: Mikey on 22 February, 2009, 01:31:20
Because I use DixBoT and I don't think there is any reason to have the same set of commands twice. I need the script to add RC for other scripts/bots I use...I didn't think I had to explain what I wanted to do with the script. Sorry!
Title: Re: Custom Rightclick
Post by: CrazyGuy on 22 February, 2009, 12:53:15
Quote from: Mutor on 22 February, 2009, 01:41:32
CG: That won't quite do. There is no profile settings
in the script [for hub commands]. The intent here is
to send commands with respect to profile permissions
as set in the GUI for each profile.

I see, well it was worth a try  :P
Title: Re: Custom Rightclick
Post by: Mikey on 22 February, 2009, 17:58:24
Well after all that I thank you. I also learned from this. I know where my mistake was when I tried to do it. Thanks Mutor.