Thread: RequestURL woes
View Single Post
  #15  
Old 07-14-2006, 04:04 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by ForgottenLegacy
Uh, you can't do catchEvent on events like that. It just doesn't work for some reason. You should use the standard onReceiveData() function, and pass that to onData().

PHP Code:
function onReceiveData(params...) {
  
onData(params...);

you can do catchEvent like that. I think you may have to do it like this, though: catchevent(this.req.name, ...)

Try that and see if it works.


Quote:
Originally Posted by Raeiphon
Hey um, that's nice, if you'd read the previous posts you'd know why it was like that.
Actually, you made no mention to why it is in a timeout, and not just in an onPlayerChats() handler. I can not think of any reason why you would need such a thing in a timeout.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote