PtokaX forum

Development Section => Your Developing Problems => Topic started by: Kattana on 17 May, 2004, 21:59:24

Title: client commands
Post by: Kattana on 17 May, 2004, 21:59:24
how would i execute client commands like "/close" "/winamp" ect.. from lua? ive tried a couple different ways but they dont execute.
Title:
Post by: plop on 18 May, 2004, 00:10:46
QuoteOriginally posted by Kattana
how would i execute client commands like "/close" "/winamp" ect.. from lua? ive tried a couple different ways but they dont execute.
it's imposible, those commands can only be typed by the user.

plop
Title:
Post by: Kattana on 18 May, 2004, 01:27:22
nothing is impossible, its just code.
Title:
Post by: plop on 18 May, 2004, 01:55:35
QuoteOriginally posted by Kattana
nothing is impossible, its just code.
the problem is the way the clients work on that part.
what has been typed by the user is checked if it's a client command, if yes it's procest.
now a thing from a script (client or hub) comes from the other side.
and there is a simple reason for this, abuse.
it would be posible 2 trigger a granted slot that way.

plop
Title:
Post by: Kattana on 18 May, 2004, 02:45:49
so i have to edit the client too... i was hopeing i wouldnt have to type anything with this sprained wrist...