mIRC Home    About    Download    Register    News    Help

Print Thread
Help with a simple script #96836 06/09/04 05:41 AM
Joined: Sep 2004
Posts: 85
G
Gameaddix Offline OP
Babel fish
OP Offline
Babel fish
G
Joined: Sep 2004
Posts: 85
this is what i want, a script to where i can say /bye, and if makes a users i want leave the room, but before it does it says "Goodbye <username>", then uses sapart on them, i would like it to either do it to a selected nickname (on the right hand side user list) or have to type in a nickname once, this is what i have right now, and it gets annoying having to type their nick 2 times.
Code:
 //bye /msg $chan goodbye $?="Who is leaving?" | //sapart $?="Who to make leave" $chan
 
. i would appreciate it if someone could make me a script that does that at the same time, and to a selected nick or typing a nick once, i'm to dumb at irc to figure this out myself. thx in advance.

Re: Help with a simple script #96837 06/09/04 05:43 AM
Joined: Mar 2004
Posts: 540
A
Armada Offline
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
alias bye {
msg $chan Goodbye $2
sapart $2 $chan
}
Use: /bye Armada

Last edited by Armada; 06/09/04 05:43 AM.
Re: Help with a simple script #96838 06/09/04 05:49 AM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
snip - Armada beat me! grin

...for popups you might use:

Code:
menu nicklist {
.SApart: msg $chan Goodbye $1 | sapart $1 $chan
}
(This would go in Remote - ALT+R > File > New)

Regards,


Mentality/Chris
Re: Help with a simple script #96839 06/09/04 07:01 PM
Joined: Sep 2004
Posts: 85
G
Gameaddix Offline OP
Babel fish
OP Offline
Babel fish
G
Joined: Sep 2004
Posts: 85
man you guys a freakin smart , lol, looked right over armada's post, i like ur's better anyway Mentatity (no offense armada, since ur script was exactly what i asked for), just easier to right click and hit sapart then type /bye <nick>.

Last edited by Gameaddix; 06/09/04 07:03 PM.
Re: Help with a simple script #96840 07/09/04 12:53 AM
Joined: Mar 2004
Posts: 540
A
Armada Offline
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
COmmand line junkie