mIRC Home    About    Download    Register    News    Help

Print Thread
#59524 08/11/03 05:58 PM
V
VashX
VashX
V
does anybody know where i can get a free bot script that does an automessaging type of thing?
like, if someone joins the channel, it automatically says something to that person, and u can customize the messages and what they say to certain users.

#59525 08/11/03 06:05 PM
Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
You don't need a whole bot for that, just a single remote script:
  • On !*:join:#channelname:{ .notice $nick Welcome to # }

#59526 08/11/03 06:43 PM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Dec 2002
Posts: 2,958
and u can customize the messages and what they say to certain users.

The very reason that I am glad there is no $isoper identifier.

#59527 10/11/03 04:06 AM
V
VashX
VashX
V
how do you customize the messages to certain users?
i dont know anything about scripting, btw.

#59528 10/11/03 06:22 AM
Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,256
Then you should learn. Read about if-then-else, then you can check if a nick is a certain one, and make the script react accordingly.

Or, write the stuff to a inifile in the format


[MESSAGES]
nick=message goes here
nick2=message2 goes here


and then use

on @*:JOIN:#channelname: if ($readini(filename.ini,MESSAGES,$nick)) .notice $nick $ifmatch

#59529 10/11/03 06:22 AM
Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,256
Small suggestion to you: when providing a user code like this, don't use ! but @. It will make sure they are opped when sending on join messages. If they are not opped in a channel, they have no business sending on join messages.

#59530 10/11/03 09:22 PM
V
VashX
VashX
V
but how do i make it say the message outloud?
like:
<VashX> message here

#59531 10/11/03 10:01 PM
Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
/msg $chan <message>

Note the red. This works in *most* events, but not all. Some exeptions are on QUIT and on NICK. In those cases, you can use $comchan(<name>, <Channel N>)

#59532 15/11/03 07:11 PM
Joined: Feb 2003
Posts: 806
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 806
Depending on the channel politics, yes they might have. This is up to them, not to anyone else.


Link Copied to Clipboard