ISXIM bugs

Kannkor

Ogre
On initial load, have to call the Connect twice.

Code:
	call IRC_Init "${IRCOb.IRCServer}" "${IRCOb.DefaultUser}" "${IRCOb.ChannelPassword}"
	call IRC_Connect
	call IRC_JoinChannel "${IRCOb.DefaultChannel}" "${IRCOb.ChannelPassword}"
The init is from the sample. I've checked and the variables pass correctly.

In the IRC_Connect, it hits this:
Code:
IRC:Connect[${IRC_Server},${IRC_Nick}]
wait 4
wait 100 !${IRC.IsConnecting}
echo ${IRCUser[${IRC_Nick}](exists)}
Which results in:
Code:
ISXIM for Innerspace (By Amadeus) *LOADED*
[IRC] There do not appear to by ANY IRCUsers at this point.
NULL
[IRC] There do not appear to by ANY IRCUsers at this point.
If I kill my script, and reload it, it'll work fine (note: NOT unload the extension).
Alternatively, I can...
Code:
	IRC:Connect[${IRC_Server},${IRC_Nick}]
		
	wait 4
	wait 100 !${IRC.IsConnecting}
	echo Test1: ${IRCUser[${IRC_Nick}](exists)}
	IRC:Connect[${IRC_Server},${IRC_Nick}]
	wait 4
	wait 100 !${IRC.IsConnecting}
	echo Test2: ${IRCUser[${IRC_Nick}](exists)}
Which results in:
Code:
ISXIM for Innerspace (By Amadeus) *LOADED*
[IRC] There do not appear to by ANY IRCUsers at this point.
Test1: NULL
Test2: TRUE

atom(script) IRC_ReceivedChannelMsg(string User, string Channel, string From, string Message)
Doesn't fire if YOU send the message. (In the sample it has it checking if User=From and ignore, I removed it and added a blanket echo, doesn't fire for yourself).
 
Top Bottom