Charmander

hi diana :D

Aug 14th, 2011
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.88 KB | None | 0 0
  1. alias F12 {
  2.   dialog -md form form
  3. }
  4. dialog form {
  5.   title "Pokemon Online to C&C Formatter by Charmander"
  6.   size -1 -1 175 135
  7.   option dbu
  8.   edit "", 1, 24 43 125 62, multi
  9.   text "Paste Here", 2, 61 30 50 9, center
  10.   edit "", 3, 24 18 125 10
  11.   text "Set Name", 4, 61 4 50 8, center
  12.   button "Done", 5, 24 113 125 12, ok
  13. }
  14. on *:dialog:form:sclick:5: {
  15.   set -l %a echo -a
  16.   %a [SET]
  17.   %a name: $iif($did(form,3) == $null,$gettok($did(form,1,1),$calc($findtok($did(form,1,1),@,32) + 1) $+ -,32),$did(form,3))
  18.   set -l %b 1
  19.   while (%b <= 4) {
  20.     %a move %b $+ : $gettok($did(form,1,$calc(%b + 4)),2-,32)
  21.     inc %b
  22.   }
  23.   %a item: $gettok($did(form,1,1),$calc($findtok($did(form,1,1),@,32) + 1) $+ -,32)
  24.   %a ability: $gettok($did(form,1,2),2-,32)
  25.   %a nature: $gettok($did(form,1,4),1,32)
  26.   %a EVs: $replacecs($gettok($did(form,1,3),2-,32),SAtk,SpA,SDef,SpD,Spd,Spe)
  27. }
Advertisement
Add Comment
Please, Sign In to add comment