pony

jump1

Mar 5th, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. dialog jump1 {
  2. title "New Project"
  3. size -1 -1 408 36
  4. option dbu
  5. edit "INFO", 1, 51 6 335 10, center
  6. button "close/do", 2, 159 18 37 12, ok cancel
  7. button "echo", 3, 117 18 37 12
  8. button "set", 4, 72 18 37 12
  9. }
  10. on *:dialog:jump1:init:0:{
  11. dll $mdx SetMircVersion $version
  12. dll $mdx MarkDialog $dname
  13. dll $mdx SetDialog $dname bgcolor $rgb(0,0,0)
  14. dll $mdx SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63 textbg $rgb(0,0,0)
  15. dll $mdx SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63 background $rgb(0,0,0)
  16. dll $mdx SetColor $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63 text $rgb(198,227,249)
  17. dll $mdx SetFont $dname 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63 400 tahoma
  18. dll $mdx SetBorderStyle $dname staticedge
  19. }
  20.  
  21. on *:dialog:jump1:sclick:4:{
  22. /set %jumping.room $did($dname,1).text | /set %jumping.gate $did($dname,1).text | /set %jumping.nick $did($dname,1).text
  23. }
  24. on *:dialog:jump1:sclick:3:{
  25. echo -a %jumping.room %jumping.gate %jumping.nick
  26. }
  27.  
  28. menu nicklist {
  29. .TESTcopy:/clipboard | /clipboard -a $+($active,$chr(32),$address($$1,1),$chr(32),$$1) | /dialog -m jump1 jump1
  30. }
Advertisement
Add Comment
Please, Sign In to add comment