What you do is type @new8 -Your Own Answer- and @addk -Your Own Kickmsg- After you are done with both type @8ball -Question- @k -Nick- @kb -Nick-
Inproved by Cage and myself lol
on *:text:*:#: {
tokenize 32 $strip($1-)
if ($strip($$1) == @new8) { .write 8.txt $2- }
if ($strip($$1) == @addk) { .write k.txt $2- }
if ($1 == @8ball) { .msg $chan $read(8.txt) }
if ($1 == @k) && ($nick isop $chan) { .kick $chan $2 $read(k.txt) }
if ($1 == @kb) && ($nick isop $chan) { .ban $chan $2 | .kick $chan $2 $read(k.txt) }
}
on :text::#: {
tokenize 32 $strip($1-)
if ($1 == @new8) { .write 8.txt $2- }
if ($1 == @addk) { .write k.txt $2- }
if ($1 == @8ball) { .msg $chan $read(8.txt) }
if ($1 == @k) && ($nick isop $chan) { .kick $chan $2 $read(k.txt) }
if ($1 == @kb) && ($nick isop $chan) { .ban $chan $2 | .kick $chan $2 $read(k.txt) }
}
tokenize 32 $strip($1-)
CaRe_Taker: tokenize fills $1 $2 ... $N with tokens
If you don\'t understand what tokens are, here are a few tutorials...
http://www.hdesk.org/wiki/index.php?title=Tokens
http://mirc.net/projects.php?go=1098159434&get_desc=1
http://www.mircscripts.org/showdoc.php?type=tutorial&id=2
Yeah I was trying that but I can\'t seem to make it work... Maybe if I tried this do yiou think it would work?
on :text::#: {
if ($1 == @ $+ 8ball) .msg $chan $read(8.txt)
}
on 5:text:*:#: {
if ($strip($$1) == @ $+ new8) { .write 8.txt $2- }
if ($strip($$1) == @ $+ addk) { .write k.txt $2- }
if ($1 == @ $+ k) .kick $chan $2 $read(k.txt)
if ($1 == @ $+ kb) .ban $chan $2 | .kick $chan $2 $read(k.txt)
}