thanks alot DaveC and RusselB
finally i come out like this, it work fine
on *:text:whowas*:?: {
if ($nick == test) { whowas $2 }
}
raw 314:*: { /msg test $1- }
But the thing is, it work only with exact the nick i'm input, because on the line raw 314:*: { /msg test $1- }
it wont accept $nick
What do i do, if i want to give that out for more then one nick have power to do that ??
for sample
on *:text:whowas*:?: {
if ($nick == test) { whowas $2 }
if ($nick == jimmy) { whowas $2 }
if ($nick == tommy) { whowas $2 }
}
raw 314:*: { /msg $nick $1- }
that what i mean, but it wont work