Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #awaymsg1 off
- on *:TEXT:*:#:{
- if ($nick isowner $chan) || ($nick isop $chan) || (#unknown = $mid($chan,2)) || (#Sanctuary = $mid($chan,2)) || (#Somewhere = $mid($chan,2)) halt |
- if (pony isin $1-) && ($nick != $me) && (%pager == ON) {
- if (!%ignore. [ $+ [ $nick ] ]) {
- set -u10 %ignore. [ $+ [ $nick ] ] on
- /set %RandomAnswer1 $rand(1,5)
- if (%RandomAnswer1 == 1) { msg $chan Hello $nick im away right now ill be back latter }
- if (%RandomAnswer1 == 2) { msg $chan Hi There $nick im not here right now }
- if (%RandomAnswer1 == 3) { msg $chan Hey $nick im away talk to you latter }
- if (%RandomAnswer1 == 4) { msg $chan Hello $nick how you doing , ill get back with you latter im away right now }
- if (%RandomAnswer1 == 5) { msg $chan Yo $nick hi there , im away for a while ill see you when i get back }
- }
- }
- }
- #awaymsg1 end
- menu menubar,channel {
- awaymsg.. ( $+ $group(#awaymsg1) $+ )
- ..Start Event:/enable #awaymsg1
- ..Stop Event:/disable #awaymsg1
- }
Advertisement
Add Comment
Please, Sign In to add comment