Simple Botserv Greet Snippet V1.0

By newklear on Oct 29, 2008

Simple snippet that welcomes a user using botserv
This snippet can be edited for your needs, I chose not use $read(filename.txt) for ease of editing purposes.

Instructions:
Depending on any existing "on :JOIN:#:" events
Copy and Paste into your Remote Section as a new file in your Script Editor "Alt + R"
and or edit "on
:JOIN:#:" to "on *:JOIN:#channelname:" accordingly.

on *:JOIN:#: {
  var %rand $r(1,11)
  if (%rand == 1) {
    .timer1 1 6 bs say $chan welcome $nick !
    .timer1 1 7 bs say $chan Time now is $time $+ , what's yours $nick ?
  }
  if (%rand == 2) { .timer1 1 5 bs say $chan oh yes it's $nick ! }
  if (%rand == 3) { .timer1 1 5 bs say $chan Please do have fun in $chan and stay as long as you like $nick }
  if (%rand == 4) { .timer1 1 4 bs say $chan wb $nick($chan,$rand(1,$nick($chan,0))) }
  if (%rand == 5) { .timer1 1 6 bs say $chan Fancy seeing you here $nick ! }
  if (%rand == 6) { .timer1 1 5 bs say $chan WOW it's $nick ! }
  if (%rand == 7) { .timer1 1 4 bs say $chan Hey $nick $+ , $nick($chan,$rand(1,$nick($chan,0))) was looking for you }
  if (%rand == 8) { .timer1 1 6 bs say $chan Welcome back $nick($chan,$rand(1,$nick($chan,0))) oops I mean $nick }
  if (%rand == 9) { .timer1 1 5 bs say $chan Welcome $nick ! }
  if (%rand == 10) { .timer1 1 6 bs say $chan Howzit $nick ? }
  if (%rand == 11) { .timer1 1 5 bs say $chan Hey $nick $+ , $nick($chan,$rand(1,$nick($chan,0))) was speaking behind your back }
}

Comments

Sign in to comment.
napa182   -  Oct 29, 2008

you could do

on !@*:JOIN:#: {
  var %$ welcome $nick Time now is $time(h:nn tt) $+ , what's yours $nick ?|oh yes it's $nick !|Please do have fun in # and stay as long as you like $nick |Fancy seeing you here $nick !|WOW it's $nick !|Hey $nick $+ , $nick(#,$r(1,$nick(#,0))) was looking for you|Welcome back $nick(#,$r(1,$nick(#,0))) oops I mean $nick |Welcome $nick !|Howzit $nick ?|Hey $nick $+ , $nick(#,$r(1,$nick(#,0))) was speaking behind your back|wb $nick
  .timer.join 1 1 .bs say # $gettok(%$,$r(1,11),124)
}
 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.