i made this this with some help from napa182 and a little bit from EL. this is just a beta and it does work properly. i do not plan on keeping it using memoserv but if i can\'t get it to work my other way it will stay as is. please note if you do not know how to use memoserv this doesn\'t tell you how to use it all so type /ms help . please point out any problems that you see and i will fix them. this i my first dialog using tabs. right click then click E-mail beta then you can check your new memos, view all your memos, send a memo to someone, or delete your memos. enjoy ^_^
dialog email_beta {
Title "E-Mail Beta"
size -1 -1 94 100
option dbu
tab "messages", 1, 0 -2 94 100,
tab "send", 2
box "new messages", 3, 22 12 50 17, tab 1
button "veiw new", 4, 30 30 30 15, tab 1
box "all messages", 5, 22 46 50 17, tab 1
button "veiw inbox", 6, 30 66 30 15, tab 1
button \"send message", 7, 28 12 40 15, tab 2
button "delete", 8, 29 32 35 15, tab 2
}
on *:dialog:email_beta:sclick:8:{
.ms del $?="enter what you would like to delete. EXs. to delete all type ALL. to delete last type LAST. to delete certain numbers EXs. if you have 3 new messages and you want to deleted the second one type 2 if you want to delete 2 and 3 type 2,3. if you have 20 new and you wan to delee 5-10 and 15-20 type 5-10,15-20"
}
on *:dialog:email_beta:sclick:4:{
.ms read new
}
on *:dialog:email_beta:sclick:6:{
.ms read $?="enter list or last or ener the numbers you want to read if there are thn one and you wish to read two right by each other type 2-3 o what ever you would like to read like 1-20 if there are some that you don\'t want to read say you have 20 and you don\'t want to read 10 to 15 type 1-9,16-20"
}
on *:DIALOG:email_beta:sclick:7:{
.ms send $1 $?="Who would you like to send a message?" $?="what would you like to say to him/her?"
}
menu status,channel {
email_beta: dialog -m email_beta email_beta
}
all of the \'s have been removed and eugenio it probably wont stay memoserv once i can get it to use something else. i would like to get it to run off of a text document or something like hat so it can be my own custom system but i'm not able to do so t the moment to. if anyone would like to update it for me please do so
I'm not too excited about the dialog, or your massive overuse of the forward slash, but stick with it. See if you can improve it. So far, the dialog is a bit out of whack for my taste, as is the 'error-checking', or lack-thereof ;) But, keep on going.
You will probably want to make sure that the user actually enters something when you use $input() boxes (ie: $?=""). Error-checking is a major player in the world of scripting/programming ;)
Is this to be a 'MemoServ' addon? Is that what I read somewhere?