All pastes #483609 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-11 20:22 UTC
rendered paste body
1) Make a trigger:

on *:SOMETHING:thetrigger:#channel: {

^ The "SOMETHING" can be like TEXT, ACTION (/me's), NOTICE, INVITE, PART, JOIN etc. Replace #channel with the channel you want it triggered in, or leave it as # for all channels.

2) Make a command for the trigger to evaluate:

on *:SOMETHING:thetrigger:#channel: {
  something here

^ The "something here" can be (for example) msg $nick something, notice $nick something, msg $chan something.

3) Make a closing bracket:

on *:SOMETHING:thetrigger:#channel: {
  something here
}

___________________________________________________________________

A finished Example:

On *:TEXT:!pie:#: {
  describe $chan gives $nick a pie
}

^ describe $chan = /me, $chan = channel its typed in, $nick = nick who triggered the command.