egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

make advetise wont work

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Sun Sep 23, 2007 5:40 pm    Post subject: make advetise wont work Reply with quote

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
View user's profile Send private message MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Sep 23, 2007 7:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Sep 23, 2007 7:37 pm    Post subject: Reply with quote

How is it an error?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Sep 23, 2007 7:53 pm    Post subject: Reply with quote

@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
View user's profile Send private message Visit poster's website
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Sun Sep 23, 2007 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Sep 23, 2007 8:28 pm    Post subject: Reply with quote

iNgADvert is a simple channel advertising script you may wish to test. Functions in one channel only!

It works also. Very Happy
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Sun Sep 23, 2007 9:01 pm    Post subject: Reply with quote

Alchera wrote:
iNgADvert is a simple channel advertising script you may wish to test. Functions in one channel only!

It works also. Very Happy


thanks man !!

but this don't have the funktion so the dj's can set there advetise self Smile

like !setreklame text

and maybe start it with !reklame on

that is an idea Smile
_________________
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber