This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Need Help Capturing A Specifi Notice From X

Old posts that have not been replied to for several years.
Locked
User avatar
CoMMy
Halfop
Posts: 99
Joined: Thu Jul 24, 2003 1:03 am
Location: Cyprus

Need Help Capturing A Specifi Notice From X

Post by CoMMy »

I need your help again.

I need a script that will /msg X status $currentchan (If X is on chan) and get the access level the bot has for that chan. The username of the bot is set as set xuser "Test".

I need this so that i the bot checks to see how much access it has before it performs a command given.

Can you help with this?
Thanks
(c) CoMMy (c)
Resistance is Futile!!
We Are The Borg!!
User avatar
CoMMy
Halfop
Posts: 99
Joined: Thu Jul 24, 2003 1:03 am
Location: Cyprus

Post by CoMMy »

Anyone pls?
(c) CoMMy (c)
Resistance is Futile!!
We Are The Borg!!
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

"pls"? Where are you stuck? ...or is this a request to make the complete thing for you? If so, I suggest being a bit more patient.
Have you ever read "The Manual"?
User avatar
CoMMy
Halfop
Posts: 99
Joined: Thu Jul 24, 2003 1:03 am
Location: Cyprus

Post by CoMMy »

This Doesnt Work.

Code: Select all

bind raw - 330 get:username
#Get The Username
proc get:username {from key arg} { 
   set nickuser [lindex $arg 1] 
   set username [lindex [split $arg] 2] }
#Get The Username
Btw. My Server is Undernet.

When i do a whois i get,

USER is logged in as

Weird!
(c) CoMMy (c)
Resistance is Futile!!
We Are The Borg!!
Locked