Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
I'm wondering how i can echo messages to my IRC chennel that only & % and ~ can read...
At the moment i've got important messages shown to admins in game. I've looked at the script and tried it myself but the messages just echo so everyone in the channel can read them...
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
I tried that, didn't really like it that way, just wondeirng how to send a message to & % ~ only...
Posts: 603
Threads: 19
Joined: Nov 2007
Reputation:
0
Oooh you can. Loop through the userlist and notice users with a specific mode.
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
Thats what i was thinking...because you loop through for the % & and ~ for the irc to ingame commands, so there must be a way to loop through and send a message.
I'm new to the irc stuff so how would i loop through and then send the messages to the % & and ~
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
I tried that not sure what to define them as.
Anyone know how to fix this?
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
Anyone know how i can echo certain messages from ingame to an IRC channel, that only % & @ ~ can read?
I've posted what i tried above but i got the two errors, not sure how to define those two to get it working.
Posts: 603
Threads: 19
Joined: Nov 2007
Reputation:
0
What u have to do:
- get the irc userlist into a string
- count all spaces in that string
- split the userlist string using strtok
- check whether the user has the mode you want
- send a notice to that user if so
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
I've never really done anything with IRC stuff before, so its confusing for me..
Is the above code i posted anything close to what i need?
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
Could someone tell me what i need to do for this? i really dont have a clue if im heading in the right direction with the above code or not.
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
thanks for the reply. i'll search for that.