• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Feature Requests (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

commands replies

This forum is now locked as we will no longer be developing the v1.x branch

Moderators: OldWolf, re*s.t.a.r.s.*2

Topic locked
2 posts • Page 1 of 1

Postby datacompboy » Wed Feb 07, 2007 10:07 am

Why GUI need to know about replies on commands?
I think, commands should report not in form "handleResponse(command, response, params)" but in form "handleResponse(command, status, type, params)"

since lot of commands have same reaction: report to user in popup/textblock some text, just fine enc.
F.e. I have copied ban/unban/banlist to voice/unvoice/voicelist and should edit gui too, while it just reports text identically.

So, there should be several standard reactions in gui, so commands can be more easily introduced :)
-- suicide proc nearn call deathn suicide endp
datacompboy
Member
 
Posts: 74
Joined: Thu Jan 18, 2007 9:10 pm
Location: Novosibirsk
  • Website
  • ICQ
Top

Postby phpfreechat » Wed Feb 07, 2007 12:30 pm

I agree that it whould be nice to standardise a bit more the commands replies.
If you are ready to work on that, we can talk about it and I will integrate your work.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top


Topic locked
2 posts • Page 1 of 1

Return to Feature Requests (v1.x)

Who is online

Users browsing this forum: No registered users and 0 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub