| View previous topic :: View next topic |
| Author |
Message |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Sun Sep 23, 2007 5:40 pm Post subject: make advetise wont work |
|
|
I get this error
timer2249 (saveall) killed.
timer2254 (saveall) killed.
set screklametrigger "!reklame"
set scsletreklametrigger "!SletReklame"
bind pub - $screklametrigger pub_lavreklame
bind pub - $scsletreklametrigger pub_drabreklame
| Code: | proc pub_lavreklame {nick uhost hand chan arg} {
global reklameid reklametid
set reklame "$arg"
set id [join [lrange [split $arg] 0 0]]
set reklameid($reklame) [timer $reklametid "visreklame $chan $id $reklame"]
}
proc visreklame {chan id reklame} {
global reklameid reklametid
set reklame "$reklame"
putserv "privmsg $chan : $reklame"
set reklameid($reklame) [timer $reklametid "visreklame $chan $id $reklame"]
}
proc pub_drabreklame {nick uhost hand chan arg} {
global reklameid reklametid
set arg [join [lrange [split $arg] 0 end]]
killtimer $reklameid($arg)
}
|
_________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze
Last edited by Fire-Fox on Sat Oct 13, 2007 6:49 am; edited 1 time in total |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Sep 23, 2007 7:21 pm Post subject: |
|
|
What's the error message (provide full errorInfo).
I should add that this script is unsecure and can be easily exploited. Read Script security. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Sep 23, 2007 7:37 pm Post subject: |
|
|
| How is it an error? |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Sep 23, 2007 7:53 pm Post subject: |
|
|
@Fire-Fox
| Quote: | timer2249 (saveall) killed.
timer2254 (saveall) killed. |
These are not errors but unused timers the script is removing.
Read the code!
| Code: | | killtimer $reklameid($arg) |
PS: Take Sir_Fzs' advice re security. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Sun Sep 23, 2007 8:20 pm Post subject: |
|
|
| Quote: | timer2249 (saveall) killed.
timer2254 (saveall) killed.
|
this is all there is in partyline...
it wont set the advertise with !xirg text sorry about the misinfo... _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Sep 23, 2007 8:28 pm Post subject: |
|
|
iNgADvert is a simple channel advertising script you may wish to test. Functions in one channel only!
It works also.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Sun Sep 23, 2007 9:01 pm Post subject: |
|
|
| Alchera wrote: | iNgADvert is a simple channel advertising script you may wish to test. Functions in one channel only!
It works also.  |
thanks man !!
but this don't have the funktion so the dj's can set there advetise self
like !setreklame text
and maybe start it with !reklame on
that is an idea  _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
|