This two codes are very easy one is !say and the other !me .
Have fun!
;============Eazy Commands===
on *:text:!say *:#: { msg $chan $2- }
on *:text:!me *:#: { describe $chan $2- }
on $*:TEXT:/^[.!@](\w+)/Si:#: {
if (!%f) { inc -z %f 5 | $iif($regml(1) = me,.msg # $$2-,$iif($regml(1) = say,.describe # $$2-)) }
}
DarkCoder, is there a reason why you want to make it if $wildsite = $address($me,2)? ($address($nick,2) is the same as $wildsite) Also, you need a double $$ so you won't get an insufficient parameter error when someone accidentally types !say or !me without the $2-. A flood protection should be needed in case of abuse.
anyway, I'll say something for the hell of it
try this:
on :text:!say :#: {
if ($nick == ash) {
msg $chan $2-
}
}
on :text:!me :#: {
if ($nick == ash)
describe $chan $2-
}
}
its would be better this way:
try this:
on *:text:!say *:#: {
if ($address($nick,2) == $address($me,2)) {
msg $chan $2-
}
}
on *:text:!me *:#: {
if ($address($nick,2) == $address($me,2))
describe $chan $2-
}
}
or even better
on *:text:!say *:?: {
if ($address($nick,2) == $address($me,2)) {
msg $chan $2-
}
}
on *:text:!me *:?: {
if ($address($nick,2) == $address($me,2))
describe $chan $2-
}
}
so it would be done in a query and look like the bot is talking rather than you telling it to