Hello

How can I do this: if ($$1 == me) $$1 == $nick

Let me explain the details. I have this:

<Tom>!points Peter
<Bot>Peter points: 1,559

Code:
ON @7:TEXT:!points*:#:{ /k-show-points $$2 }

alias k-show-points {
  if ( %k-botcolor == 1 ) { /msg $chan 8,3 $$1 points: $var($+(%, points., $$1),1).value  }
  else { /msg $chan [ $$1 Points: $var($+(%, points., $$1),1).value ] }
}


and I wonder how to add this feature:

<Tom>!points me
<Bot>Tom points: 3,000

theres no hurry but its a nice feature laugh

Thanks

Last edited by endlos; 28/06/07 05:00 PM.