mIRC Home    About    Download    Register    News    Help

Print Thread
#102073 04/11/04 10:23 AM
Joined: Nov 2004
Posts: 15
V
Pikka bird
OP Offline
Pikka bird
V
Joined: Nov 2004
Posts: 15
Hi

Can anyone show me the code that: when someone let say nick Mrboy use cmd: !kiss baby , then the script will prompt a msg to channel like this: wow, i see Mrboy kiss baby in the room

Thanks.

Joined: Jun 2004
Posts: 291
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
on *text:!kiss*:#: {
;when !kiss is typed...
if ($2) {
;if theres a second word !kiss ("nick")
msg # Put Your Message Here
;msgs the channel it was typed in
}
}

if you want to msg the channel
with something like "Nick Kisses Other Nick"

change this line:
msg # Put Your Message Here
To:
msg # $nick Kisses $2
$nick = Ther person that typed !kiss
$2 = the second word typed

see /help on text
for more

smile

Joined: Nov 2004
Posts: 15
V
Pikka bird
OP Offline
Pikka bird
V
Joined: Nov 2004
Posts: 15
Thanks work great smile instead of msg , how can i use an action to send to channel?

Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
/describe # [color:red]your message[/color]

Eamonn.

Joined: Nov 2004
Posts: 15
V
Pikka bird
OP Offline
Pikka bird
V
Joined: Nov 2004
Posts: 15
Thanks worked good hihihi


Link Copied to Clipboard