Away & Back AMSGs

By AnaBotNowYourGone on May 19, 2010

I have to thank my friends at Purplesurge for helping me make this script, you guys really helped. It was mostly this guy named ManiZach.

Okay, type /away to activate the script. Then click a button depending on what AMSG you want to do. Have fun and don't abuse. ^^

alias away { dialog -m bc bc }
dialog bc {
  title "Away AMSG Sender"
  size -1 -1 195 60
  option dbu
  button "Away AMGS ", 1, 6 8 37 12
  button "Back AMGS ", 2, 6 24 37 12
  text "RoverScripts ", 7, 49 32 73 12
}
on *:dialog:bc:sclick:*: { if ($did == 2) { amsg I am now back! ~amsg~ }
if ($did == 1) { amsg  I am now away ~amsg~ } }

Comments

Sign in to comment.
napa182   -  May 20, 2010

ur dialog is a bit big for only having 2 buttons. also since you are only using the 2 buttons you can do

on *:dialog:bc:sclick:*: { amsg I am now $iif($did = 2,back!,away) ~amsg~ }
 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.