Guest User

Untitled

a guest
Jan 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. on *:TEXT:*!Ray*:#: { if (%scalekill == 0) { /Ray $nick
  2. set %scalekill 1
  3. timerscalekill 1 5 set %scalekill 0 } }
  4.  
  5. alias Ray {
  6. if ($me = Ray) {
  7. if (%scaletime = 0) {
  8. if %secdec == 1 { describe $chan still belongs to %scalenick for 1 more second! }
  9. elseif %secdec < 60 { describe $chan still belongs to %scalenick for %secdec more seconds, because Ray is still one %scalenick $+ 's head .-. }
  10. else {
  11. if $round($calc( %secdec / 60 ),0) = 1 { describe $chan still belongs to %scalenick for $round($calc( %secdec / 60 ),0) more minute, because Ray is still on %scalenick $+ 's head .-. }
  12. else {
  13. if $round($calc( %secdec / 60 ),0) > 1 { describe $chan still belongs to %scalenick for $round($calc( %secdec / 60 ),0) more minutes, because Ray is still on %scalenick $+ 's head .-. }
  14. }
  15. }
  16. }
  17. else {
  18. %stime = $rand(5,20)
  19. %scalenick = $1
  20. if %stime = 1 { describe $chan now belongs to %scalenick for %stime minute, and climbs on %scalenick $+ 's head :3 }
  21. else { describe $chan now belongs to %scalenick for %stime minutes, and climbs on %scalenick $+ 's head :3 }
  22. %scaletime = 0
  23. %secdec = $calc( %stime * 60 )
  24. timerrayleft $calc( %stime * 60 ) 1 dec %secdec
  25. timerray 1 $calc( %stime * 60) set %scaletime 1
  26. }
  27. }
  28. }
  29. ctcp *:act:*: if ($nick == %scalenick) /describe $$2 $$3- ( $+ $nick $+ )
  30. ;ctcp *:say:*: if ($nick == %scalenick) /msg $$2 $$3- ( $+ $nick $+ )
  31.  
  32. ctcp *:say:*: {
  33. if ($nick == %scalenick) {
  34. if (! isin $3) {
  35. /notice $nick 5Afraid I can't let you do that >:D, 6 $+ $nick $+ .
  36. halt
  37. }
  38. else {
  39. /msg $$2 $$3- ( $+ $nick $+ )
  40. }
  41. }
  42. }
  43.  
  44.  
  45. alias varset { unset %scalenick | set %scalekill 0 | unset %scaletime | msg $chan 3[Variables kinda scaly :3c] }
Add Comment
Please, Sign In to add comment