pony

awaymsg

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