LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 12-23-2004, 08:22 AM   #1
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 457

Rep: Reputation: 31
How to make complicated BitchX slap?


I want the end result to be looking like:
/me throws 192837373 perls regexps at Dicho's head to get his attention
I've made a bash script that gives me the rand number, but I can't do the aliasing.. How can I embed one command in another?
/alias slap1 /me throws /exec -o rand perls regexps at $0's head to get his attention
does what I expect without executing the rand program. It shows:
16:27 @ivanatora throws /exec -o rand perls regexps at LSD25's head to get his attention
..
So, the /exec -o rand is threated as a part of the text, not the command that should be executed. Any solutions?
 
Old 12-25-2004, 03:54 PM   #2
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 457

Original Poster
Rep: Reputation: 31
any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slap-get problems rosariowong Slackware 5 08-07-2004 07:28 AM
why must linux be so complicated? r_hartless Linux - Newbie 7 07-12-2004 01:50 AM
Complicated Network XTJ7 Linux - Networking 9 05-18-2004 12:48 PM
kinda complicated fragger Linux - Networking 10 01-27-2004 08:39 AM
HELP!!!! not too complicated stuff Gnute Slackware 13 05-16-2003 11:49 PM


All times are GMT -5. The time now is 03:44 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration