Encode and decode system

By CharltonJ on Dec 31, 2007

well this is a simple encode and decode system made it by me, when u load it type /set %d $decode. then right click and click on Encode and Decode and it works :P.

on *:LOAD:{ //echo -a Thanks for using Decode & Encode. | /echo -a Please type /set %d 4$decode if you want it to work better :P }
dialog Code {
  title "EnCode & Decode"
  size -1 -1 129 67
  option dbu
  text "Text:", 1, 8 17 25 8, center
  edit "", 2, 38 16 77 10, autohs
  button "View", 3, 5 37 37 12
  button "Say In Chan", 4, 46 37 37 12
  button "Done", 5, 88 37 37 12, ok
  text "Created By CharltonJ", 6, 36 56 59 8, disable center
}
on *:dialog:code:sclick:*: {
  if ($did == 3) { var %x == $input($encode($did(code,2),m)) }
  if ($did == 4) { /msg $active //say %d $+ ( $+ $encode($did(code,2),m) $+ ,m)  }
  if ($did == 5) { /unset %decode }
}
menu channel {
Encode and Decode:/dialog -m code code
}

Comments

Sign in to comment.
SLS10   -  Dec 31, 2007

...What is Encode/Decode used for, exactly? I\'m no huge scriptmeister, I just do popups that look pretty.

 Respond  
[DX]   -  Dec 31, 2007

nice job
may be useful for people who don\'t know how to use $decode

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.