| View previous topic :: View next topic |
| Author |
Message |
khalidxpert Voice
Joined: 26 Jan 2008 Posts: 18
|
Posted: Thu Apr 23, 2015 9:51 am Post subject: i want to run a vps command through eggdrop |
|
|
i want to run vps commands like ls or ps x or like other linux commadns via tcl or party line possible
regards.
Khalid |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Thu Apr 23, 2015 1:42 pm Post subject: Re: i want to run a vps command through eggdrop |
|
|
| khalidxpert wrote: | i want to run vps commands like ls or ps x or like other linux commadns via tcl or party line possible
...
|
Look up the
exec
tcl command. But be careful with it. _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
|
| Back to top |
|
 |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Sat May 16, 2015 6:01 am Post subject: |
|
|
It can be adapted to the CMD (console) Windows VPS?
After the bot access the console windows (C:\WINDOWS\system32\cmd.exe).
I need to run the following commands:
TASKLIST (list all running processes)
TSKILL [PID] (Kill a process, where [PID] is the PID number of the process that we want to eliminate. The PID can be seen when the processes listed above command.)
i.e tskill 2358
CD ( Displays the current directory name or change to another directory)
i.e cd C:\Windrop\
eggdrop -n (Makes the bot enters the network.)
With suitable flags and a special channel where TCL can it run, this would be very useful when the bot freezes, that an administrator can kill the process and then rerun.
EDIT:
I found an application called TWAPI in this LINK.
It contains over 40 TCLs for handling Windows.
He would have to study hard to understand which performs the task of all I want.
In addition to not understand much English, it would hinder me much.
If anyone can see this application and tell me what all I have to install TCLs would appreciate. _________________ If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks  |
|
| Back to top |
|
 |
|