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.
Old posts that have not been replied to for several years.
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Sat Feb 21, 2004 7:44 am
How do i force return 0 on server notice ?? i know eggdrop won't read server notices it ignores em, and so u need to force return 0 right well i have no clue on how i should even start on this part could someone give me an example or point me in the right direction ..?
XplaiN but think of me as stupid
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Sat Feb 21, 2004 9:46 am
Code: Select all
bind raw - NOTICE server:notice
proc server:notice {from keyword text} {
return 0
}
Once the game is over, the king and the pawn go back in the same box.
spock
Master
Posts: 319 Joined: Thu Dec 12, 2002 8:40 pm
Post
by spock » Sat Feb 21, 2004 11:16 am
Code: Select all
if {[string match *.* $from]} { server notice } { not }
photon?
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Sat Feb 21, 2004 2:09 pm
spock u confused me xplain
bind raw - NOTICE server:notice
proc server:notice {from keyword text} {
return 0
}
how do i use it like this ??
Code: Select all
bind raw - NOTICE server:notice
proc server:notice {from keyword text} {
return 0
#...... script .......
}
XplaiN but think of me as stupid
dollar
Op
Posts: 178 Joined: Tue Oct 28, 2003 3:47 pm
Location: Netherlands
Post
by dollar » Sat Feb 21, 2004 2:17 pm
Ofloo wrote: spock u confused me xplain
bind raw - NOTICE server:notice
proc server:notice {from keyword text} {
return 0
}
how do i use it like this ??
Code: Select all
bind raw - NOTICE server:notice
proc server:notice {from keyword text} {
return 0
#...... script .......
}
No, that'd quit the proc before doing the rest. Do your stuff, THEN return 0.
dollar (or something similar) at:
#eggdrop / #tcl - undernet
#egghelp / #tcl / #eggtcl - efnet
#eggdrop.support / #tcl - quakenet
#eggdrop - ircnet
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Sat Feb 21, 2004 2:30 pm
just bind the proc and on the end return 0 ..?
XplaiN but think of me as stupid
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Sat Feb 21, 2004 3:12 pm
Tnx got it
XplaiN but think of me as stupid
spock
Master
Posts: 319 Joined: Thu Dec 12, 2002 8:40 pm
Post
by spock » Sat Feb 21, 2004 7:09 pm
the code i posted would check whether or not the notice is from a server (nicknames wont have a dot in them)
photon?