mine-DJ

By DJ_CJ on Jul 31, 2010

none
Put the Script in Remotes,

Alias AutoDJ-stop {
  /msg world`radio autoDJ-Stop
  echo -a 0,1 Get Ready To Take Over The DJ Decks
}
Alias AutoDJ-play {
  /msg world`radio autoDJ-play
  echo -a 0,1 Get Ready To Let Auto Take Over
}

alias DJ {
  if ( $dialog(DJ_Commands) ) { dialog -v DJ_Commands DJ_Commands  }
  else { dialog -md DJ_Commands DJ_Commands }
}

dialog DJ_Commands {
  title "DJ Commands"
  size -1 -1 60 180 
  option dbu
  button "AutoDJ-Stop", 4, 10 10 40 35,
  button "AutoDJ-Play", 5, 10 50 40 35,
  button "Request Login", 6, 10 90 40 35,
  button "Request Logout", 7, 10 130 40 35,
}
on *:dialog:DJ_Commands:sclick:*: {
  if ($did == 4) { AutoDJ-stop }
  if ($did == 5) { AutoDJ-play }
  if ($did == 6) { /msg World`radio Reqlogin | echo -a 0,1 You now have request on! | echo -a  The Request Will Come thought World`Radio's Personal Messages! }
  if ($did == 7) { /msg World`radio Reqlogout | echo -a 0,1 You now have request Off! }
}

Comments

Sign in to comment.
DarkGamer120   -  Aug 28, 2010

o_o

 Respond  
napa182   -  Jul 31, 2010

oh i didn't know he was helped. I guess if he is deleting the help he gets then i will no longer help him.

 Respond  
Jethro   -  Jul 31, 2010

napa182, your $iif suggestion is similar to what I've made to DJ_CJ, but he deleted my post, along with WorldDMT's a few hours later. His description was spammed with a big chunk of blanks.

 Respond  
napa182   -  Jul 31, 2010

[size=18]Description[/size]
none
Put the Script in Remotes,

Um lolwut...

that dialog is funky looking and whats up with the huge buttons? =/

you can do

alias DJ {
  if ( $dialog(DJ_Commands) ) { dialog -v DJ_Commands DJ_Commands  }
  else { dialog -md DJ_Commands DJ_Commands }
}

into this

alias DJ dialog $iif($dialog(DJ_Commands),-v,-md DJ_Commands) DJ_Commands

just an odd snippet

 Respond  
Aucun50   -  Jul 31, 2010

You really should have a better description. By the looks of this it's for your own personal use, unless World`Radio on every irc?

 Respond  
troll   -  Jul 31, 2010

wtf does it do

 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.