Team-ClanX.org Forum Index Team-ClanX.org
Web Board for the ClanX Team
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    Return homeReturn Home 

Dialog box ( help with notice pasting )

 
Post new topic   Reply to topic    Team-ClanX.org Forum Index -> MDX, Custom Popups and DLLs
View previous topic :: View next topic  
Author Message
pakistani1
Newbie


Joined: 12 Aug 2004
Posts: 14
Location: Pakistan Zindabad

PostPosted: Wed Jun 18, 2008 2:58 pm    Post subject: Dialog box ( help with notice pasting ) Reply with quote

Code:
dialog nickserv {
  title "MMCM Nickserv Dialog"
  icon mail5.ico
  size 223 128 450 330
  edit "", 38, 7 182 260 80, autovs, multi, vsbar, LEFT
  button "Close", 39, 55 281 85 22, Cancel
}
on *:notice:*:?:{
  if ($nick == NickServ) && ($dialog(NickServ) != $null) {
    if (** iswm $1-) || (** iswm $1-) { did -a nickserv 38 $remove($1-,, ) }
    else { did -a nickserv 38 $1- }
  }

}


i want every notice form nickserv to b pasted in the edit box ( id 38 ) in a new line..
right now the script pastes the notices in the edit box .. but not in a new line it continues on pasting from the same line.

thank u in advance Smile
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Opposite^Force
Super scripter


Joined: 12 Aug 2004
Posts: 172
Location: Turkey, Istanbul

PostPosted: Sun Jul 20, 2008 6:29 pm    Post subject: Re: Dialog box ( help with notice pasting ) Reply with quote

pakistani1 wrote:
Code:
dialog nickserv {
  title "MMCM Nickserv Dialog"
  icon mail5.ico
  size 223 128 450 330
  edit "", 38, 7 182 260 80, autovs, multi, vsbar, LEFT
  button "Close", 39, 55 281 85 22, Cancel
}
on *:notice:*:?:{
  if ($nick == NickServ) && ($dialog(NickServ) != $null) {
    if (** iswm $1-) || (** iswm $1-) { did -a nickserv 38 $remove($1-,, ) }
    else { did -a nickserv 38 $1- }
  }

}


i want every notice form nickserv to b pasted in the edit box ( id 38 ) in a new line..
right now the script pastes the notices in the edit box .. but not in a new line it continues on pasting from the same line.

thank u in advance Smile


I thought everyone has quited scripting Smile Thank god It's not true.. Solution of your problem is very simple, you should not use edit you should use list instead of it.

replace the line below

Quote:
edit "", 38, 7 182 260 80, autovs, multi, vsbar, LEFT


with

Quote:
list 38, 7 182 260 80, size


and see the difference Wink
_________________
Opposite^Force
Team Clan X Scripter
Email: oscripts@aa-labs.com
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Team-ClanX.org Forum Index -> MDX, Custom Popups and DLLs All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group