| View previous topic :: View next topic |
| Author |
Message |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Wed Dec 17, 2008 6:12 am Post subject: Trigger text to User |
|
|
Hello. I am looking for a script that send a text to a user.
e.g.: !help nicki
output: nicki heresometext
Thanks for the help |
|
| Back to top |
|
 |
tomekk Master

Joined: 28 Nov 2008 Posts: 255 Location: Oswiecim / Poland
|
Posted: Wed Dec 17, 2008 6:50 am Post subject: |
|
|
| Code: |
bind pub - !help text_proc
proc text_proc { nick uhost hand chan arg } {
set nniicckk [lindex [split $arg] 0]
if {[onchan $nniicckk $chan]} {
putquick "PRIVMSG $chan :$nniicckk heresometext"
}
}
putlog "whatever.tcl loaded"
|
? ? ;p |
|
| Back to top |
|
 |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Wed Dec 17, 2008 9:06 am Post subject: |
|
|
Thank u. so if i would implement all together 4 triggers? do i have to repeat this always or is there a easier way?!
Thanks |
|
| Back to top |
|
 |
tomekk Master

Joined: 28 Nov 2008 Posts: 255 Location: Oswiecim / Poland
|
|
| Back to top |
|
 |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Wed Dec 17, 2008 10:29 am Post subject: |
|
|
| Well tomekk. thats why i am in request not in help, I have no clue how to |
|
| Back to top |
|
 |
tomekk Master

Joined: 28 Nov 2008 Posts: 255 Location: Oswiecim / Poland
|
Posted: Wed Dec 17, 2008 10:53 am Post subject: |
|
|
| yeah cool, just a hint ^^ |
|
| Back to top |
|
 |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Wed Dec 17, 2008 11:36 am Post subject: |
|
|
| Du bist ja n held. |
|
| Back to top |
|
 |
|