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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
CuteBangla
Halfop
Posts: 58 Joined: Mon Feb 27, 2006 10:47 pm
Location: Dhaka, Bangladesh
Contact:
Post
by CuteBangla » Sun Apr 16, 2006 1:25 pm
hello there
sorry for desturbin again & again
is there any script what will work like
<SuMiT>hello Niharika
<Niharika> ^S-u-M-i-T^ hi there {Niharika is the BOT}
ya there is manny script like this but i want to see the nick designed
as like as i paste here
^S-u-M-i-T^
will any1 help me?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Apr 16, 2006 4:02 pm
This will design the nick as you wished:
Code: Select all
proc design n {
set out ""
foreach token [split $n ""] {
append out $token-
}
set out \002^[string trim $out -]^\002
}
Usage: set nick [design $nick]
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Sun Apr 16, 2006 6:39 pm
I think it would be just as good to just use
Code: Select all
proc design n {
return \002^[join [split $n ""] -]^\002
}
A simpler code which does the exact same
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Apr 16, 2006 7:50 pm
MeTroiD wrote: I think it would be just as good to just use
Code: Select all
proc design n {
return \002^[join [split $n ""] -]^\002
}
A simpler code which does the exact same
Yes
simpler and faster.
CuteBangla
Halfop
Posts: 58 Joined: Mon Feb 27, 2006 10:47 pm
Location: Dhaka, Bangladesh
Contact:
Post
by CuteBangla » Mon Apr 17, 2006 5:11 am
but i m looking for insert sign after evry singel word of his nick
is it possible?
like
<SuMiT> hello bot
<BOT> is it ^S_u_M_i_T^
MeTroiD wrote: I think it would be just as good to just use
Code: Select all
proc design n {
return \002^[join [split $n ""] -]^\002
}
A simpler code which does the exact same
CuteBangla
Halfop
Posts: 58 Joined: Mon Feb 27, 2006 10:47 pm
Location: Dhaka, Bangladesh
Contact:
Post
by CuteBangla » Mon Apr 17, 2006 5:14 am
i have a mirc script what work like that
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Mon Apr 17, 2006 11:18 am
What're you talking about? you got an answer for what you requested. If you want to insert the sign you want, then use:
Code: Select all
proc design {n s} {
return \002^[join [split $n ""] $s]^\002
}
for example:
'_' is the sign.
CuteBangla
Halfop
Posts: 58 Joined: Mon Feb 27, 2006 10:47 pm
Location: Dhaka, Bangladesh
Contact:
Post
by CuteBangla » Mon Apr 17, 2006 11:27 am
well Sir_Fz
main actually i need like
<^RSA_NZ> 1.4 Martin to Gibbs, no run
<BOT> RSA Vs NZ :- 1.4 Martin to Gibbs, No run.
when 1 bot is relaying somthin i want to replace
^RSA_NZ to
RSA Vs NZ
i am useing chanlink.tcl for relay
i want to add this nick re designe
is it immpossible?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Mon Apr 17, 2006 11:44 am
Code: Select all
proc vs n {
set n [string trimleft $n ^]
foreach {n1 n2} [split $n _] {break}
set n "$n1 Vs $n2"
}
Usage: vs $nick
CuteBangla
Halfop
Posts: 58 Joined: Mon Feb 27, 2006 10:47 pm
Location: Dhaka, Bangladesh
Contact:
Post
by CuteBangla » Mon Apr 17, 2006 11:50 am
it worked
thankssssssssssssssssssssssss
CuteBangla
Halfop
Posts: 58 Joined: Mon Feb 27, 2006 10:47 pm
Location: Dhaka, Bangladesh
Contact:
Post
by CuteBangla » Mon Apr 17, 2006 4:46 pm
it doesnt work in my relay script
what eva
thanks for ur help Sir_Fz
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Mon Apr 17, 2006 5:10 pm
You've failed to use the code(s) you've been given and you've failed to discuss your problem. We're not psychic, we can't read your mind. You have to tell us your problem. Although I've replied to your private message (although I shouldn't have) and told you that you weren't using the code correctly, you still don't try to fix it.
This topic is locked.