| View previous topic :: View next topic |
| Author |
Message |
TEK7 Voice
Joined: 10 Apr 2010 Posts: 10
|
Posted: Sun Jul 04, 2010 7:44 am Post subject: Script bug help |
|
|
I have this.
| Code: | proc 5on5 { 5on5 mad7684 mad8594 mad873 mad8954 args } {
global pcwon pvtmsg
if { $pcwon == 1 } {
putquick "PRIVMSG $pvtmsg :5Nick: 14$mad7684 Host: 14$mad8594 Msg: 2$mad8954"
}
} |
and work with this
| Code: | | bind pub -|- "5on5" 5on5 |
but when someone says "5on5 .." the bot sends to me
"5Nick: 14~legeNd@zNeater.users.quakenet.org Host: 14* Msg: 2laskdlakdl"
he don't send me nick.. on nick he says "*" Can help me? |
|
| Back to top |
|
 |
raider2k Op
Joined: 01 Jan 2008 Posts: 140
|
Posted: Sun Jul 04, 2010 8:46 am Post subject: |
|
|
| you might want to change "5Nick" to "$Nick" so nick becomes a variable like its supossed to be. |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
|
| Back to top |
|
 |
TEK7 Voice
Joined: 10 Apr 2010 Posts: 10
|
Posted: Sun Jul 04, 2010 3:35 pm Post subject: |
|
|
| Code: | bind pub -|- "5on5" cinco
proc cinco { nick host handle channel text } {
global pcwon pvtmsg
if { $pcwon == 1 } {
putquick "PRIVMSG $pvtmsg : Nick: 2$nick Msg:7 5on5 $text"
}
} |
He detects the message, but when i put /ame 5on5 lasdlasld he dont detect :s can help me? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
|