egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

i want to run a vps command through eggdrop

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
khalidxpert
Voice


Joined: 26 Jan 2008
Posts: 18

PostPosted: Thu Apr 23, 2015 9:51 am    Post subject: i want to run a vps command through eggdrop Reply with quote

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
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Apr 23, 2015 1:42 pm    Post subject: Re: i want to run a vps command through eggdrop Reply with quote

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
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Apr 23, 2015 1:43 pm    Post subject: Reply with quote

Maybe this script?


http://www.egghelp.org/tclhtml/3478-4-0-0-1-eggshell.htm
_________________
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
View user's profile Send private message
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Sat May 16, 2015 6:01 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber