mIRC Home    About    Download    Register    News    Help

Print Thread
#132902 15/10/05 05:12 PM
Joined: Oct 2005
Posts: 17
C
cashed Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Oct 2005
Posts: 17
Is There A command Line That When A User Joins A Room I Can Set Up My Clinet To Auto Notify Them With A msg Like Type !Rules Than When They Type That Trigger My Clinet Will Pm Them With Rules.

#132903 15/10/05 05:14 PM
Joined: Sep 2005
Posts: 73
D
Babel fish
Offline
Babel fish
D
Joined: Sep 2005
Posts: 73
/help on join
/help on text

#132904 15/10/05 05:21 PM
Joined: Oct 2005
Posts: 17
C
cashed Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Oct 2005
Posts: 17
Where Do I Ad The Info To?

#132905 15/10/05 07:50 PM
Joined: Jun 2005
Posts: 11
H
Pikka bird
Offline
Pikka bird
H
Joined: Jun 2005
Posts: 11
remote events will go into the remote section in the script editor, or press ALT R


- hantu
#132906 17/10/05 01:12 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
These go into Alt-R (remotes tab). Click File > New. Then paste whatever of these you want. You should not have both the rules parts in the script... choose one or the other. And, questions like this should be in the scripting forum in the future.

Join message (replace #yourchan with your channel name):
Code:
on *:join:#yourchan:{
  if ($nick != $me) {
    .notice $nick Welcome to the channel.  Type !rules to get the rules.
  }
}


Sending rules as text (change channel name again):
Code:
on *:text:!rules:#yourchan: {
  .play $nick rules.txt 1000
}

Just make a rules.txt file in your mIRC folder and it will send it. If you get flooded off the network, change 1000 to 1500.

Sending rules as a file (change channel name again):
Code:
on *:text:!rules:#yourchan: {
  .notice $nick Sending rules...
  dcc send $nick rules.txt
}

Again, just make a rules.txt file in your mIRC folder.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard