Hello I am a skrub coder and i would like to figure out how to set a string for my stream.

I would like to be the only one able to use this command (which i have already done)

The thing I would like to know is how you can do something like !swbs 1 and then when i say !whitebags it says I have found 1 whitebag(s)

This is the code.
Code:
on *:TEXT:!whitebags:#: {
  if ((%wb) || ($($+(%,wb.,$nick),2))) { return }
  set -u30 %wb On
  msg $chan I have found %wbs whitebag(s)
}

on *:TEXT:!swbs $input:#:
if $nick == im_bad_atoot { $input = %wbs }


Please help me figure out how to do this. smile

Last edited by Toot; 23/08/14 12:33 AM.