mIRC Home    About    Download    Register    News    Help

Print Thread
#7068 17/01/03 08:17 PM
Joined: Jan 2003
Posts: 12
W
Wertox Offline OP
Pikka bird
OP Offline
Pikka bird
W
Joined: Jan 2003
Posts: 12
hmmm..ok im on a hub...and i need help about some kind of trigger...you know..i got two clones and i want when i say to theother clone like... !join he will join #achannel ....somekind of trigger for him to join and part...

If someone knows something...please post... i really need help smile

#7069 17/01/03 10:44 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
ON *:TEXT:*:?:if ($1 == !join) { join $2 }

Command to send would just be !join #Channel via /msg

#7070 18/01/03 05:32 PM
Joined: Jan 2003
Posts: 12
W
Wertox Offline OP
Pikka bird
OP Offline
Pikka bird
W
Joined: Jan 2003
Posts: 12
THANKS....but how when i want him to part?

#7071 18/01/03 05:37 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
ON *:TEXT:*:?:if ($1 == !part) { part $2 }

Command to send would just be !part #Channel via /msg

#7072 18/01/03 05:59 PM
Joined: Jan 2003
Posts: 12
W
Wertox Offline OP
Pikka bird
OP Offline
Pikka bird
W
Joined: Jan 2003
Posts: 12
ok thanks it worked..but if i want him to say something (msg)!?!

#7073 18/01/03 06:04 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
ON *:TEXT:*:?:if ($1 == !say) { msg $2-}

Command is !say <channel> <message here>

EG: !say #Poolside Chuck the hosts in the water!

If you don't nominate the room then the bot won't know where to send the message.

#7074 18/01/03 06:24 PM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
on 1000:TEXT:*!part*:#: {
/msg $chan I'm leaving cause I was told to.
/part $chan
}

that will make your clone part when the text !part is typed in the channel. But make sure you set an access level so only you can perform the command i used 1000 as an example to represent the channel owner

on 1000:TEXT:*!join*:?: {
/notice $nick I am joining now
/join #YourChannelNameHere
}

again this will work if you msg your clone by typing !join but you have to specify the channel name thats what i use myself and it works perfectly.

I hope thats what you meant.


#7075 18/01/03 06:40 PM
Joined: Jan 2003
Posts: 12
W
Wertox Offline OP
Pikka bird
OP Offline
Pikka bird
W
Joined: Jan 2003
Posts: 12
yeahh..thanks...but when i want the clone to say something through me?

#7076 18/01/03 07:15 PM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
what i posted wont say it through you but as if someone else was saying it to you....when you type those commands it will message you or the channel. i must have mis understood your question....im sorry i dont know of a way to make it say anything through you....


Link Copied to Clipboard