vision
30.05.2002, 16:35
Hab hier ein kleines Prob.
Das ganze funzt mit /list prima aber beim /motd geht nur
das erste event "message of the day", das zweite wird
(die eigentliche MOTD liste) wird nie im window ausgegeben
so wie ichs will.
kann mir jmd. dabei helfen?
;motd
RAW 375:*: {
if (%ext.motd == $false) halt
elseif (%ext.motd == $true) window @MOTD
if ($window(@MOTD) == $null) {
window @MOTD
echo @MOTD $1-
}
RAW 372:*: {
if (%ext.motd == $false) halt
elseif (%ext.motd == $true) echo @MOTD $1-
if ($window(@MOTD) == $null) {
window @MOTD
echo @MOTD $1-
}
thx vision:mauer:
\EDIT
prob hat sich erledigt.
;motd
RAW 375:*: if (%ext.motd == $false) halt | elseif (%ext.motd == $true) haltdef | window @MOTD | if ($window(@MOTD) == $null) window @MOTD | aline @MOTD $1
RAW 372:*: if (%ext.motd == $false) halt | elseif (%ext.motd == $true) haltdef | if ($window(@MOTD) == $null) window @MOTD | aline @MOTD $1-
funzt.
thx trotzdem :p
Das ganze funzt mit /list prima aber beim /motd geht nur
das erste event "message of the day", das zweite wird
(die eigentliche MOTD liste) wird nie im window ausgegeben
so wie ichs will.
kann mir jmd. dabei helfen?
;motd
RAW 375:*: {
if (%ext.motd == $false) halt
elseif (%ext.motd == $true) window @MOTD
if ($window(@MOTD) == $null) {
window @MOTD
echo @MOTD $1-
}
RAW 372:*: {
if (%ext.motd == $false) halt
elseif (%ext.motd == $true) echo @MOTD $1-
if ($window(@MOTD) == $null) {
window @MOTD
echo @MOTD $1-
}
thx vision:mauer:
\EDIT
prob hat sich erledigt.
;motd
RAW 375:*: if (%ext.motd == $false) halt | elseif (%ext.motd == $true) haltdef | window @MOTD | if ($window(@MOTD) == $null) window @MOTD | aline @MOTD $1
RAW 372:*: if (%ext.motd == $false) halt | elseif (%ext.motd == $true) haltdef | if ($window(@MOTD) == $null) window @MOTD | aline @MOTD $1-
funzt.
thx trotzdem :p