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

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Tue Sep 18, 2007 11:14 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|