Author Topic: client commands  (Read 1662 times)

0 Members and 1 Guest are viewing this topic.

Offline Kattana

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
client commands
« 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.

PtokaX forum

client commands
« on: 17 May, 2004, 21:59:24 »

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #1 on: 18 May, 2004, 00:10:46 »
Quote
Originally 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
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Offline Kattana

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
(No subject)
« Reply #2 on: 18 May, 2004, 01:27:22 »
nothing is impossible, its just code.

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #3 on: 18 May, 2004, 01:55:35 »
Quote
Originally 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
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Offline Kattana

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
(No subject)
« Reply #4 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...

PtokaX forum

(No subject)
« Reply #4 on: 18 May, 2004, 02:45:49 »