PtokaX forum

Archive => Archived 5.0 boards => Help with scripts => Topic started by: Jaakko on 09 March, 2005, 12:13:18

Title: right click commands
Post by: Jaakko on 09 March, 2005, 12:13:18
I'm trying to modify PPK's user command script so every OP in my hub would have (in search menu) command
"!kick (filename in reason)", but the command won't show in there.
Can this be done in ptokax because I have not seen it on any ptokax hub (yet).
Title:
Post by: Herodes on 09 March, 2005, 12:18:56
I suppose that this is done easier from the File>Settings...>Advanced>User Commands page of dc++ based clients ... ( 20% more sure about dcdm++... )
It has nothing to do with the hubsoft ...
Title:
Post by: Jaakko on 09 March, 2005, 12:44:22
I think it has something to do with hubsoft because y-hub can send you "kick (filename included)" command if you have the right .txt file.
And yes I have this command staright in dc++, but all the other operators.......
Title:
Post by: PPK on 09 March, 2005, 14:29:28
QuoteOriginally posted by Jaakko
!kick
PtokaX don't have !kick command. DC protocol have $Kick nick|  :)
Title:
Post by: Jaakko on 09 March, 2005, 15:12:36
This is going off topic, and no there is not !kick command in ptokax but I have a !kick script.
Can it or can't it be done?
Title:
Post by: Jelf on 09 March, 2005, 17:12:18
Use this command in PPK script..curUser:SendData("$UserCommand 1 4 Kick Menu\\Kick User (Filename Included)$<%[mynick]> !kick %[nick] %[line:Reason] (%[file])|")

Hope this helps
Title:
Post by: Jaakko on 10 March, 2005, 14:07:42
This is just what I needed and it works just fine.
Thank you. :))
Title:
Post by: Jelf on 10 March, 2005, 22:12:10
anytime :)