Arkadaşlar bendeki duyuru scpti çalışmıyor nedeni ne olabilir bakarsanız sevinirim ben çözemedim . Scpti veriyorum :

[itemdef i_announcer]
type=t_script
id=i_grave_stone
name=Haber Tasi

on=@create
color=0813
timer=1800

on=@dclick
if (0<src.account.plevel> >6)
dialog d_announce
else
src.sysmessage Bunu kullanabilecek yetkiniz yok.
endif
return 1

on=@pickup_ground
src.sysmessage @56,,1 Bu tasi silmeniz veyahutta kimildatmaniz, Tasi bozacaktir. Lutfen Dokunmayiniz.
return 1

on=@timer
if (<cont.timer> < 1)
serv.allclients sysmesua *<serv.name> Duyuru*:
serv.allclients sysmesua <tag.announce>
timer 600
return 0
ENDIF


[Dialog d_announce]
0,250
htmlgump 45 5 500 30 0 0 0
resizepic 0 0 5120 650 90
resizepic 20 25 3000 620 30

//-- Textentry posx posy x y 0 <argtext[num]> <line>
Textentry 30 30 650 30 0 1 1

Button 600 60 4006 4005 1 0 1
htmlgump 535 60 60 30 2 0 0

[Dialog d_announce TEXT]
<var.font2>> Duyurulmasini istediginiz Mesaji yaziniz.
<tag.announce>
<var.font2>>Duyur.

[Dialog d_announce BUTTON]
ON=1
If (strmatch(<argtxt[1]>,))
	src.sysmessage Duyuruyu yazmadiniz.
	tag.announce <argtxt[1]>
	return 1
endif

IF (strlen(<argtxt[1]>)>200)
	src.sysmessage lutfen 200 karekteri gecmemeye ozen gosterin.
	tag.announce <argtxt[1]>
	return 1
endif
f_announce <argtxt[1]>
tag.announce <argtxt[1]>
timer 1

[Function f_announce]
//src.newitem i_announcer
//src.act.tag.announce <args>
//src.act.bounce
//src.act.drop
tag.announce <argn>



[DEFNAME htmlgump_vars]
BFONT_SIZE1 <basefont SIZE="1">
BFONT_SIZE4 <basefont SIZE="4">
BFONT_SIZE7 <basefont SIZE="7">
BFONT_white <basefont color="#ffffff">
BFONT_LGRAY <basefont color="#aaaaaa">
BFONT_GRAY <basefont color="#888888">
BFONT_DGRAY <basefont color="#444444">
BFONT_BLACK <basefont color="#000011">
BFONT_LRED <basefont color="#ff0000">
BFONT_RED <basefont color="#880000">
Bfont_DRED <basefont color="#440000">
BFONT_LGREEN <basefont color="#00ff00">
BFONT_GREEN <basefont color="#008800">
BFONT_DGREEN <basefont color="#004400">
BFONT_LBLUE <basefont color="#0000ff">
BFONT_BLUE <basefont color="#000088">
BFONT_DBLUE <basefont color="#000044">
BFONT_LYELLOW <basefont color="#ffff88">
BFONT_YELLOW <basefont color="#ffff00">
BFONT_DYELLOW <basefont color="#888800">
BFONT_LPURPLE <basefont color="#ff88ff">
BFONT_PURPLE <basefont color="#ff00ff">
BFONT_DPURPLE <basefont color="#880088">
BFONT_LCYAN <basefont color="#88ffff">
BFONT_CYAN <basefont color="#00ffff">
BFONT_DCYAN <basefont color="#008888">
BFONT <BASEFONT
BFONTE </BASEFONT>

DIV_RIGHT <div align="right">
DIV_LEFT <div align="left">
DIV_END </DIV> 
CENTER <CENTER>
CENTERE </CENTER>
BR <BR>

L1 <
R1 >

B <B>
BE </B>
BIG <BIG>
BIGE </BIG>
SMALL <SMALL>
SMALLE </SMALL>
EM <EM>
EME </EM>
U <U>
UE </U>
H1 <H1>
H1E </H1>
H2 <H2>
H2E </H2>
H3 <H3>
H3E </H3>
H4 <H4>
H4E </H4>
H5 <H5>
H5E </H5>
H6 <H6>
H6E </H6>
A <a
AE </a>
sysmesua Kısa mesaj komutu var mıdır bilmek lazım :)

Oyuna bağlanıp .sysmesua asd yazar mısın var mı böyle bir komut bakalım
[itemdef i_announcer]
type=t_script
id=i_grave_stone
name=Haber Tasi

on=@create
color=0813
timer=1800

on=@dclick
if (0<src.account.plevel> >6)
dialog d_announce
else
src.sysmessage Bunu kullanabilecek yetkiniz yok.
endif
return 1

on=@pickup_ground
src.sysmessage @56,,1 Bu tasi silmeniz veyahutta kimildatmaniz, Tasi bozacaktir. Lutfen Dokunmayiniz.
return 1

on=@timer
if (<cont.timer> < 1)
serv.allclients sysmesua *<serv.name> Duyuru*:
serv.allclients sysmesua <tag.announce>
timer 600
return 0
ENDIF


[Dialog d_announce]
0,250
htmlgump 45 5 500 30 0 0 0
resizepic 0 0 5120 650 90
resizepic 20 25 3000 620 30

//-- Textentry posx posy x y 0 <argtext[num]> <line>
Textentry 30 30 650 30 0 1 1

Button 600 60 4006 4005 1 0 1
htmlgump 535 60 60 30 2 0 0

[Dialog d_announce TEXT]
<var.font2>> Duyurulmasini istediginiz Mesaji yaziniz.
<tag.announce>
<var.font2>>Duyur.

[Dialog d_announce BUTTON]
ON=1
If (strmatch(<argtxt[1]>,))
src.sysmessage Duyuruyu yazmadiniz.
tag.announce <argtxt[1]>
return 1
endif

IF (strlen(<argtxt[1]>)>200)
src.sysmessage lutfen 200 karekteri gecmemeye ozen gosterin.
tag.announce <argtxt[1]>
return 1
endif
f_announce <argtxt[1]>
tag.announce <argtxt[1]>
timer 1

[Function f_announce]
//src.newitem i_announcer
//src.act.tag.announce <args>
//src.act.bounce
//src.act.drop
tag.announce <argn>



[DEFNAME htmlgump_vars]
BFONT_SIZE1 <basefont SIZE="1">
BFONT_SIZE4 <basefont SIZE="4">
BFONT_SIZE7 <basefont SIZE="7">
BFONT_white <basefont color="#ffffff">
BFONT_LGRAY <basefont color="#aaaaaa">
BFONT_GRAY <basefont color="#888888">
BFONT_DGRAY <basefont color="#444444">
BFONT_BLACK <basefont color="#000011">
BFONT_LRED <basefont color="#ff0000">
BFONT_RED <basefont color="#880000">
Bfont_DRED <basefont color="#440000">
BFONT_LGREEN <basefont color="#00ff00">
BFONT_GREEN <basefont color="#008800">
BFONT_DGREEN <basefont color="#004400">
BFONT_LBLUE <basefont color="#0000ff">
BFONT_BLUE <basefont color="#000088">
BFONT_DBLUE <basefont color="#000044">
BFONT_LYELLOW <basefont color="#ffff88">
BFONT_YELLOW <basefont color="#ffff00">
BFONT_DYELLOW <basefont color="#888800">
BFONT_LPURPLE <basefont color="#ff88ff">
BFONT_PURPLE <basefont color="#ff00ff">
BFONT_DPURPLE <basefont color="#880088">
BFONT_LCYAN <basefont color="#88ffff">
BFONT_CYAN <basefont color="#00ffff">
BFONT_DCYAN <basefont color="#008888">
BFONT <BASEFONT
BFONTE </BASEFONT>

DIV_RIGHT <div align="right">
DIV_LEFT <div align="left">
DIV_END </DIV> 
CENTER <CENTER>
CENTERE </CENTER>
BR <BR>

L1 <
R1 >

B <B>
BE </B>
BIG <BIG>
BIGE </BIG>
SMALL <SMALL>
SMALLE </SMALL>
EM <EM>
EME </EM>
U <U>
UE </U>
H1 <H1>
H1E </H1>
H2 <H2>
H2E </H2>
H3 <H3>
H3E </H3>
H4 <H4>
H4E </H4>
H5 <H5>
H5E </H5>
H6 <H6>
H6E </H6>
A <a
AE </a>

[function sysmesua]
src.sysmessage @0481,6,6,0 <args>
.sysmesua diye bir komut yok baktım. Arkadaş düzelmiş sanırım düzelttiği scpti deneyeyim .
serv.allclients sysmesua yerine

serv.allclients sysmessage @07a1,,1 yapabilirsin.
[plevel 04]
anons

[function anons]
serv.allclients sysmessage @077a,,4 [<serv.name>]
serv.allclients sysmessage @07a1,,1 Duyuru: ,0 ,0 <args>


boyle daha basit olur :D
sadece duyuruyu kendın yaparsın :D
Ya ben şaşırdım benim istediğim haber di duyuru imiş :D Haber scpti olan varsa yazabilir mi örneğin 10dkda bir adasd yazcak .
Timerları 600 yap yine aynı şey işte :)
haa ole bısımı :D kolay aslında
oto duyuru stonesını ıstıyorsan

bak burak ne guzelş anlatmıs bu tası cıkar ve cıft tıkla oraya yaz bellı sure sora o yazar okish

@Dreamer


[itemdef i_announcer]
type=t_script
id=i_grave_stone
name=Haber Tasi

on=@create
color=0813
timer=1800

on=@dclick
if (0<src.account.plevel> >6)
dialog d_announce
else
src.sysmessage Bunu kullanabilecek yetkiniz yok.
endif
return 1

on=@pickup_ground
src.sysmessage @56,,1 Bu tasi silmeniz veyahutta kimildatmaniz, Tasi bozacaktir. Lutfen Dokunmayiniz.
return 1

on=@timer
if (<cont.timer> < 1)
serv.allclients sysmesua *<serv.name> Duyuru*:
serv.allclients sysmesua <tag.announce>
timer 600
return 0
ENDIF


[Dialog d_announce]
0,250
htmlgump 45 5 500 30 0 0 0
resizepic 0 0 5120 650 90
resizepic 20 25 3000 620 30

//-- Textentry posx posy x y 0 <argtext[num]> <line>
Textentry 30 30 650 30 0 1 1

Button 600 60 4006 4005 1 0 1
htmlgump 535 60 60 30 2 0 0

[Dialog d_announce TEXT]
<var.font2>> Duyurulmasini istediginiz Mesaji yaziniz.
<tag.announce>
<var.font2>>Duyur.

[Dialog d_announce BUTTON]
ON=1
If (strmatch(<argtxt[1]>,))
src.sysmessage Duyuruyu yazmadiniz.
tag.announce <argtxt[1]>
return 1
endif

IF (strlen(<argtxt[1]>)>200)
src.sysmessage lutfen 200 karekteri gecmemeye ozen gosterin.
tag.announce <argtxt[1]>
return 1
endif
f_announce <argtxt[1]>
tag.announce <argtxt[1]>
timer 1

[Function f_announce]
//src.newitem i_announcer
//src.act.tag.announce <args>
//src.act.bounce
//src.act.drop
tag.announce <argn>



[DEFNAME htmlgump_vars]
BFONT_SIZE1 <basefont SIZE="1">
BFONT_SIZE4 <basefont SIZE="4">
BFONT_SIZE7 <basefont SIZE="7">
BFONT_white <basefont color="#ffffff">
BFONT_LGRAY <basefont color="#aaaaaa">
BFONT_GRAY <basefont color="#888888">
BFONT_DGRAY <basefont color="#444444">
BFONT_BLACK <basefont color="#000011">
BFONT_LRED <basefont color="#ff0000">
BFONT_RED <basefont color="#880000">
Bfont_DRED <basefont color="#440000">
BFONT_LGREEN <basefont color="#00ff00">
BFONT_GREEN <basefont color="#008800">
BFONT_DGREEN <basefont color="#004400">
BFONT_LBLUE <basefont color="#0000ff">
BFONT_BLUE <basefont color="#000088">
BFONT_DBLUE <basefont color="#000044">
BFONT_LYELLOW <basefont color="#ffff88">
BFONT_YELLOW <basefont color="#ffff00">
BFONT_DYELLOW <basefont color="#888800">
BFONT_LPURPLE <basefont color="#ff88ff">
BFONT_PURPLE <basefont color="#ff00ff">
BFONT_DPURPLE <basefont color="#880088">
BFONT_LCYAN <basefont color="#88ffff">
BFONT_CYAN <basefont color="#00ffff">
BFONT_DCYAN <basefont color="#008888">
BFONT <BASEFONT
BFONTE </BASEFONT>

DIV_RIGHT <div align="right">
DIV_LEFT <div align="left">
DIV_END </DIV> 
CENTER <CENTER>
CENTERE </CENTER>
BR <BR>

L1 <
R1 >

B <B>
BE </B>
BIG <BIG>
BIGE </BIG>
SMALL <SMALL>
SMALLE </SMALL>
EM <EM>
EME </EM>
U <U>
UE </U>
H1 <H1>
H1E </H1>
H2 <H2>
H2E </H2>
H3 <H3>
H3E </H3>
H4 <H4>
H4E </H4>
H5 <H5>
H5E </H5>
H6 <H6>
H6E </H6>
A <a
AE </a>

[function sysmesua]
src.sysmessage @0481,6,6,0 <args>

bak burak ne guzelş anlatmıs bu tası cıkar ve cıft tıkla oraya yaz bellı sure sora o yazar okish

Bu konu Akillis tarafından düzenlendi(2007-12-03 23:04, 17 yıl önce)
Kodla şunu yapmayı biliyosun:)
[ITEMDEF i_yell_stone] 
id i_grave_stone 
type t_eq_script 

on=@create 
attr 010
color 0800 
timer 600
return 1 

on=@dclick 
src.yellat2
timer 600
return 1 

on=@click
message @0481,,1 Yell stone
return 1 

on=@timer
yellat2
timer 600
return 1 

[function yellat2]
serv.allclients sysmessage @38,,1 Sunucumuzda cart curt,cart v.s. kullanmak kesinlikle yasaktir.

@xxxlllxxx
Mesela böyle bişey?
Tabi kullandığın sürüm 56b ise timerf kullanarak scp yi daha kısa hale getirebilirsin.


Bu konu boosterx tarafından düzenlendi(2007-07-14 02:05, 18 yıl önce)
55r Kullanıyorum inş olur verdiğin scpt bakayım .
Bende çalışıyor 10dk da bir ''Sunucumuzda cart curt,cart v.s. kullanmak kesinlikle yasaktir.'' diye yell geçio.
Çalıştı bendede sağolasın da bu timer saniye üzerinden dimi ?
Önemli degil.Eet bu timer saniye üzerinden 600 saniye bildigin gibi 10dk eder.



Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.

Benzer Konular