tglogo.png

Downloading File

Filename: Buzzen Custom Auto Greeter
;;;;;;;Buzzen Custom Auto Greeter 1.0;;;;;;;
;;;;;;;;;;;;;;Coded by d33j4y�;;;;;;;;;;;;;;
;;Thanks to err0r for fixing the join read;;
;;;and to SglCdnMade for the on/off idea!;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

menu nicklist {
  -
  Custom Greetingz $readini(greetings.ini,customgreet,status)
  .Set Greetings On: writeini greetings.ini customgreet status On 
  .Set Greetings Off: writeini greetings.ini customgreet status Off
  .-
  .Create Public Greeting for $Buzz.decode($replace($1,>,Guest_)): { writeini greetings.ini publicmsg $+ $chan $ial($$1,1).addr $$input(Set Custom Public Greeting For $Buzz.decode($replace($1,>,Guest_)):,129,Nick Custom Public Greeting) }
  .Remove Public Greeting for $Buzz.decode($replace($1,>,Guest_)): { remini greetings.ini publicmsg $+ $chan $ial($$1,1).addr }
  .-
  .Create Private Greeting for $Buzz.decode($replace($1,>,Guest_)): { writeini greetings.ini privatemsg $+ $chan $ial($$1,1).addr $$input(Set Custom Private Greeting For $Buzz.decode($replace($1,>,Guest_)):,129,Nick Custom Privte Greeting) }
  .Remove Private Greeting for $Buzz.decode($replace($1,>,Guest_)): { remini greetings.ini privatemsg $+ $chan $ial($$1,1).addr }
  -
}

on ^*:join:#: {
  if ($readini(greetings.ini,customgreet,status) == On) {
    if ($readini(greetings.ini,publicmsg $+ $chan,$ial($nick).addr)) {
      msg $chan $gettok($readini(greetings.ini,publicmsg $+ $chan,$ial($nick).addr),1,61)
    }
    if ($readini(greetings.ini,privatemsg $+ $chan,$ial($nick).addr)) {
      whisper $chan $nick $gettok($readini(greetings.ini,privatemsg $+ $chan,$ial($nick).addr),1,61)
    }
  }
}

Related Files

by err0r
by av0ider edited by sn|pes
by CharmedOne

Please note that on our website we use cookies necessary for the functioning of our website, cookies that optimize the performance. To learn more about our cookies, how we use them and their benefits, please read our Cookie Policy.
I Understand