Vietlubu Posted December 23, 2012 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 141 Reputation: 24 Joined: 01/19/12 Last Seen: Saturday at 09:07 AM Share Posted December 23, 2012 prontera,156,173,5 Script Text 77,{ mes "the first."; close; } on the first click. it show: "the first". close. when affter 10 seconds back and click again on NCP. --> show "the second" sorry with my bad english Quote Link to comment Share on other sites More sharing options...
Capuche Posted December 23, 2012 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 613 Joined: 07/05/12 Last Seen: Yesterday at 05:23 PM Share Posted December 23, 2012 (edited) I dunno what you want to do, maybe something like this ? prontera,156,173,5 Script Text 77,{ if( .busy ) end; if( !.sw ) mes "the first."; else mes "the second"; set .sw, !.sw; close2; initnpctimer; set .busy, 1; end; OnTimer10000: set .busy, 0; stopnpctimer; end; } Edited December 23, 2012 by Capuche 1 Quote Link to comment Share on other sites More sharing options...
Vietlubu Posted December 23, 2012 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 141 Reputation: 24 Joined: 01/19/12 Last Seen: Saturday at 09:07 AM Author Share Posted December 23, 2012 nice. thanks so much Quote Link to comment Share on other sites More sharing options...
Question
Vietlubu
on the first click. it show: "the first". close.
when affter 10 seconds back and click again on NCP. --> show "the second"
sorry with my bad english
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.