mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 1
D
DUCE Offline OP
Mostly harmless
OP Offline
Mostly harmless
D
Joined: Feb 2003
Posts: 1
Ok I'm working on my socketbot and I have a script:
if ($1 == .k) { sockwrite -nt * PRIVMSG # : $+ TESTING SCRIPTS | sockwrite -nt * KICK # $2 $3 $4 $5 $6 $7 | kick }
for a kick. This won't work for some reason, it only will show $3 in the reason part of the kick message. Help me please

Also if anyone knows how to make bots do actions, do tell! confused confused confused

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Try sockwrite -nt * KICK # : $+ $2-.

For /me's do sockwrite -nt * PRIVMSG # :ACTION message here $+ .

Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
# wont represent a channel in a socket script. you will have to get the channel to send to as well.


Link Copied to Clipboard