Timed Message

By PkTidus on Jun 15, 2007

Mainly for you RuneScape players you there who use SS

When you want to sell something on rsmarket

!Sell

!Message - to preview the message

!start - Start the timed Message

!stop - Stop the timed message

I reconmend 35 seconds, so you dont get banned for spamming

BTW it is tested, i use it my self, add bits and bobs to suit your self

on *:TEXT:!Sell*:#:{ if ($nick == Pk-Tidus) {
    set %sell $4-
    set %time $3
    set %channel2 $2
  .notice $nick Times message set. Every %time Seconds. In channel %channel2 . The message will read: %sell } 
}

on *:TEXT:!start*:#: { if ($nick == Pk-Tidus) {
    .notice $nick Timed message started!
    timer1 0 %time /msg %channel2 %sell
  }
}

on *:TEXT:!stop*:#:{ if ($nick == Pk-Tidus) {
    timer1 off
    .notice $nick Timed Message is now off.
  }
}

on *:TEXT:!Message*:#: { if ($nick == Pk-Tidus) {
  .notice $nick Times message. Every %time Seconds. In channel %channel2 . The message will read: %sell }
}

Comments

Sign in to comment.
PkTidus   -  Jun 16, 2007

RusselB - Sorted ;)
peterpowell - If you want it silent you do that, for me it doesn\'t bother me.

 Respond  
peterpowell   -  Jun 16, 2007

hi,

i suggest you make the timer silent - change \"timer\" to \".timer\"

-pp

 Respond  
RusselB   -  Jun 15, 2007

In the \'stop\' event your message will be sent out even if the nick condition isn\'t met.
Just a matter of having a closed brace in the wrong location. The other events are configured correctly.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.