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 

Execute unix command

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
paulOr
Voice


Joined: 01 Nov 2008
Posts: 10

PostPosted: Sat Nov 01, 2008 10:36 am    Post subject: Execute unix command Reply with quote

Im wanting to create a simple little script that will do a unix command, iv tryed modifying the uptime scripts to do this, but its not really working.

In the script i want to set a location i.e
/home/paul/webserver/blah/blah/blah/

then set the executable file
m00

so that when i type a command:
!m00

the m00 executable file will be executed.

then show a message:

" m00 has been executed "

Something like that Razz

Can anyone help me out there?
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sat Nov 01, 2008 4:46 pm    Post subject: Reply with quote

There is an example for how to do a !exec command, in the forum. http://forum.egghelp.org/viewtopic.php?t=9945 Smile
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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