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 

Change the Encoding so it shows "Å" [SOLVED]
Goto page Previous  1, 2
 
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: Tue Sep 18, 2007 11:14 am    Post subject: Reply with quote

SOLVED
Can eny one tell me why the !nummer is not working...?
Code:

set scsetnummertrigger "!sætnummer"
bind pub D $scsetnummertrigger  pub_setnummer

proc setnummer {nickname setnummer } {
global streamip streamport streampass number
if {$setnummer == "" } { set $setnummer}
set temp [open "setnummer" w+]
puts $temp $setnummer
close $temp
set temp [open "setnummer" w+]
puts $temp $setnummer
close $temp
if { [status] == "1" } { poststuff privmsg " 4AliasFM $setnummer 4AliasFM"
} else {
putserv "privmsg $nickname :9this has not been announced because the radio is currentlfy offline." }
}
proc msg_setnummer { nick uhost hand arg } { setnummer $nick $arg }
proc pub_setnummer { nick uhost hand chan arg } { global adminchans; if {([lsearch -exact [string tolower $adminchans] [string tolower $chan]] != -1) || ($adminchans == "")} { setnummer $nick $arg }}

set scnummertrigger "!nummer"
bind pub - $scnummertrigger  pub_nummer

proc nummer {target nummer} {
global streamip streamport streampass nummer
if {[status] == 1} {
if {[file exists setnummer]} {
set temp [open "setnummer" r]
set setnummer [gets $temp]
close $temp
putserv "privmsg $target :4AliasFM 0Nummer:  7 $nummer 4AliasFM"
}}}

proc msg_nummer { nick uhost hand arg } { nummer $nick"}
proc pub_nummer { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { nummer $chan  }}
[/b]
_________________
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
Goto page Previous  1, 2
Page 2 of 2

 
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