Здравствуйте, гость ( Вход | Регистрация )

 
Тема закрытаОткрыть новую тему
> Jail Stone - Super
Steel
сообщение 25.5.2003, 18:33
Сообщение #1


*******

Хирург UltimaSoft.Ru
Сообщений: 901
Регистрация: 16.5.2003
Группа: Пользователи
Наличность: 0
Из: Великобритания
Пользователь №: 493



Код
[ITEMDEF i_jail_stone2]

DEFNAME=i_crystal_red

ID=i_crystal_green

RESOURCES=10 i_GEM_RUBY

NAME=Jail Stone

TYPE=T_COMM_CRYSTAL



ON=@Create

  COLOR=0486

  ATTR=04



ON=@DCLICK

if <src.isgm>

DIALOG d_jail_stone2

ELSE

MESSAGE Page GM about this item you are not allowed to use it!!

ENDIF

RETURN 1



[DIALOG d_jail_stone2]

155,60

page 0



gumppic 100 150 39



nodispose

text 118 153 0 0 //<SERV.NAME> Jail System

text 180 190 0 1  // Jail Menu

text 160 210 0 2  // 2hours

text 160 240 0 3 // 1Day

text 160 270 0 4 // 4days

text 160 300 0 5 // 1 Week



button 142 214 1209 1210 1 0 1 //

button 142 243 1209 1210 1 0 2 //

button 142 273 1209 1210 1 0 3 //

button 142 303 1209 1210 1 0 4 //

button 267 370 2450 2451 1 0 5 //



text 120 397 0 8 // Scripted by admin fallzone

text 120 415 0 9 // Version 1.09



[DIALOG d_jail_stone2 TEXT]

<SERV.NAME> Jail System

Jailtimes:

2hour

1Day

4Days

1Week

.

.

Scripted By: Admin Fallzone  

Version 1.09



[DIALOG d_jail_stone2 BUTTON]



ONBUTTON=1 //2 Hour jail



src.newitem=i_jailtime_2h

src.act.target

SRC.SYSMESSAGE Who do you wish to jail for 2 hours??

RETURN 1



ONBUTTON=2 // 1 Day

src.newitem=i_jailtime_1d

src.act.target

SRC.SYSMESSAGE Who do you wish to jail for 1 day??

RETURN 1



ONBUTTON=3 // 4 days

src.newitem=i_jailtime_4d

src.act.target

SRC.SYSMESSAGE Who do you wish to jail for 4 days??

RETURN 1



ONBUTTON=4 // 1 week

src.newitem=i_jailtime_1w

src.act.target

SRC.SYSMESSAGE Who do you wish to jail for 1 week??

RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[ITEMDEF i_leavejail_stone]

NAME=Leave Jail Stone

ID=0edc

ON=@CREATE

ATTR 0010

COLOR=0455

TYPE=1





ON=@DCLICK

IF <SRC.RESTEST 1 m_jail_clock1>

  DIALOG d_leave_stone2

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

  DIALOG d_leave_stone

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

  DIALOG d_leave_stone3

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

  DIALOG d_leave_stone4

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ELSE

  DIALOG d_leave_stone

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ENDIF

RETURN 1



CATEGORY=Anew Items

SUBSECTION=Jail System

DESCRIPTION=Leave Jail Stone



[DIALOG d_leave_stone]

155,60

page 0

resizepic 0 0 5170 440 480



noclose

nodispose

text 85 3 0 0 // Welcome to <SERV.NAME> Jail System

text 200 70 0 1  // Jail Menu

text 180 90 0 2  // Pay Bail

text 180 120 0 3 // Check Jailtime

text 180 150 0 4 // Am i free

text 180 180 0 5 // Il use my jail ticket



button 162 94 1209 1210 1 0 1 //Pay Bail

button 162 123 1209 1210 1 0 2 //Check Jailtime

button 162 153 1209 1210 1 0 3 // Am i free

button 162 183 1209 1210 1 0 4 //Il use my jail ticket

button 360 420 2450 2451 1 0 5 // OK Button



text 160 453 0 8 // Scripted by admin fallzone

text 20 320 0 9 //To check

text 20 338 0 10 //how many seconds



gumppic 280 40 13

gumppic 280 40 60438

gumppic 280 40 60440

gumppic 280 40 60441

gumppic 280 40 50614

gumppic 280 40 50478



gumppic 1 40 990

gumppic 1 50 60992

gumppic 1 40 60653



[DIALOG d_leave_stone TEXT]

Welcome to <SERV.NAME> Jail System

Jail Menu

Pay bail 16000gp.

Check jail time.

Am i free?

Il use my jail ticket

.

.

Scripted By: Admin Fallzone  

To check your jailtime type .jailtime to display

how many seconds you got left on your jailtime.



[DIALOG d_leave_stone BUTTON]



ONBUTTON=1 //Bail Paying

IF <SRC.RESTEST 16000 i_gold>

     SRC.CONSUME=16000 i_gold

     SRC.consume=m_jail_clock2

     SRC.FORGIVE

     SRC.MESSAGE=Your money has been accepted, you are free to go

     DIALOG d_travel

     ELSE

     SRC.MESSAGE You do not have enough gold, perhaps it is in your bank?

     SRC.BANK

     ENDIF

     RETURN 1



ONBUTTON=2 // Jail time



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1





ONBUTTON=3 // Am i free



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.MESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.MESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.MESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.MESSAGE You are not free yet.

  RETURN 1

  ELSE

  DIALOG d_travel

  MESSAGE Your free to go be nice next time

ENDIF

RETURN 1



ONBUTTON=4 // Jail ticket



IF <SRC.RESTEST 1 i_jailticket> // checks if the players doesnt have jail ticket in their back pack

     SRC.CONSUME=i_jailticket

     SRC.CONSUME=m_jail_clock2

        SRC.MESSAGE Choose Your Town

        DIALOG d_travel

                       SRC.ACT.SOUND=285

             ELSE

        SRC.MESSAGE Perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[DIALOG d_leave_stone2]

155,60

page 0

resizepic 0 0 5170 440 480



noclose

nodispose

text 85 3 0 0 // Welcome to <SERV.NAME> Jail System

text 200 70 0 1  // Jail Menu

text 180 90 0 2  // Pay Bail

text 180 120 0 3 // Check Jailtime

text 180 150 0 4 // Am i free

text 180 180 0 5 // Il use my jail ticket



button 162 94 1209 1210 1 0 1 //Pay Bail

button 162 123 1209 1210 1 0 2 //Check Jailtime

button 162 153 1209 1210 1 0 3 // Am i free

button 162 183 1209 1210 1 0 4 //Il use my jail ticket

button 360 420 2450 2451 1 0 5 // OK Button



text 160 453 0 8 // Scripted by admin fallzone

text 20 320 0 9 //To check

text 20 338 0 10 //how many seconds



gumppic 280 40 13

gumppic 280 40 60438

gumppic 280 40 60440

gumppic 280 40 60441

gumppic 280 40 50614

gumppic 280 40 50478



gumppic 1 40 990

gumppic 1 50 60992

gumppic 1 40 60653



[DIALOG d_leave_stone2 TEXT]

Welcome to <SERV.NAME> Jail System

Jail Menu

Pay bail 30000gp.

Check jail time.

Am i free?

Il use my jail ticket

.

.

Scripted By: Admin Fallzone  

To check your jailtime type .jailtime to display

how many seconds you got left on your jailtime.



[DIALOG d_leave_stone2 BUTTON]



ONBUTTON=1 //Bail Paying

IF <SRC.RESTEST 30000 i_gold>

        SRC.CONSUME=30000 i_gold

        SRC.consume m_jail_clock1

        SRC.FORGIVE

        SRC.MESSAGE=Your money has been accepted, you are free to go

        DIALOG d_travel

        ELSE

        SRC.MESSAGE You do not have enough gold, perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=2 // Jail time



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1



ONBUTTON=3 // Am i free



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.

  RETURN 1

  ELSE

  DIALOG d_travel

  MESSAGE Your free to go be nice next time

ENDIF

RETURN 1



ONBUTTON=4 // Jail ticket



IF <SRC.RESTEST 1 i_jailticket> // checks if the players doesnt have jail ticket in their back pack

     SRC.CONSUME=i_jailticket

     SRC.CONSUME=m_jail_clock1

        SRC.MESSAGE Choose Your Town

        DIALOG d_travel

                       SRC.ACT.SOUND=285

             ELSE

        SRC.MESSAGE Perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[DIALOG d_leave_stone3]

155,60

page 0

resizepic 0 0 5170 440 480



noclose

nodispose

text 85 3 0 0 // Welcome to <SERV.NAME> Jail System

text 200 70 0 1  // Jail Menu

text 180 90 0 2  // Pay Bail

text 180 120 0 3 // Check Jailtime

text 180 150 0 4 // Am i free

text 180 180 0 5 // Il use my jail ticket



button 162 94 1209 1210 1 0 1 //Pay Bail

button 162 123 1209 1210 1 0 2 //Check Jailtime

button 162 153 1209 1210 1 0 3 // Am i free

button 162 183 1209 1210 1 0 4 //Il use my jail ticket

button 360 420 2450 2451 1 0 5 // OK Button



text 160 453 0 8 // Scripted by admin fallzone

text 20 320 0 9 //To check

text 20 338 0 10 //how many seconds



gumppic 280 40 13

gumppic 280 40 60438

gumppic 280 40 60440

gumppic 280 40 60441

gumppic 280 40 50614

gumppic 280 40 50478



gumppic 1 40 990

gumppic 1 50 60992

gumppic 1 40 60653





[DIALOG d_leave_stone3 TEXT]

Welcome to <SERV.NAME> Jail System

Jail Menu

Pay bail 80000gp.

Check jail time.

Am i free?

Il use my jail ticket

.

.

Scripted By: Admin Fallzone  

To check your jailtime type .jailtime to display

how many seconds you got left on your jailtime.



[DIALOG d_leave_stone3 BUTTON]



ONBUTTON=1 //Bail Paying

IF <SRC.RESTEST 80000 i_gold>

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=30000 i_gold

        SRC.consume m_jail_clock3

        SRC.FORGIVE

        SRC.MESSAGE=Your money has been accepted, you are free to go

        DIALOG d_travel

        ELSE

        SRC.MESSAGE You do not have enough gold, perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=2 // Jail time



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1



ONBUTTON=3 // Am i free



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.

  RETURN 1

  ELSE

  DIALOG d_travel

  MESSAGE Your free to go be nice next time

ENDIF

RETURN 1



ONBUTTON=4 // Jail ticket



IF <SRC.RESTEST 1 i_jailticket> // checks if the players doesnt have jail ticket in their back pack

     SRC.CONSUME=i_jailticket

     SRC.CONSUME=m_jail_clock3

        SRC.MESSAGE Choose Your Town

        DIALOG d_travel

                       SRC.ACT.SOUND=285

             ELSE

        SRC.MESSAGE Perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[DIALOG d_leave_stone4]

155,60

page 0

resizepic 0 0 5170 440 480







noclose

nodispose

text 85 3 0 0 // Welcome to <SERV.NAME> Jail System

text 200 70 0 1  // Jail Menu

text 180 90 0 2  // Pay Bail

text 180 120 0 3 // Check Jailtime

text 180 150 0 4 // Am i free

text 180 180 0 5 // Il use my jail ticket



button 162 94 1209 1210 1 0 1 //Pay Bail

button 162 123 1209 1210 1 0 2 //Check Jailtime

button 162 153 1209 1210 1 0 3 // Am i free

button 162 183 1209 1210 1 0 4 //Il use my jail ticket

button 360 420 2450 2451 1 0 5 // OK Button



text 160 453 0 8 // Scripted by admin fallzone

text 20 320 0 9 //To check

text 20 338 0 10 //how many seconds



gumppic 280 40 13

gumppic 280 40 60438

gumppic 280 40 60440

gumppic 280 40 60441

gumppic 280 40 50614

gumppic 280 40 50478



gumppic 1 40 990

gumppic 1 50 60992

gumppic 1 40 60653



[DIALOG d_leave_stone4 TEXT]

Welcome to <SERV.NAME> Jail System

Jail Menu

Pay bail 300000gp.

Check jail time.

Am i free?

Il use my jail ticket

.

.

Scripted By: Admin Fallzone  

To check your jailtime type .jailtime to display

how many seconds you got left on your jailtime.



[DIALOG d_leave_stone4 BUTTON]



ONBUTTON=1 //Bail Paying

IF <SRC.RESTEST 300000 i_gold>

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.consume m_jail_clock4

        SRC.FORGIVE

        SRC.MESSAGE=Your money has been accepted, you are free to go

        DIALOG d_travel

        ELSE

        SRC.MESSAGE You do not have enough gold, perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=2 // Jail time



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1





ONBUTTON=3 // Am i free



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.

  RETURN 1

  ELSE

  DIALOG d_travel

  MESSAGE Your free to go be nice next time

ENDIF

RETURN 1



ONBUTTON=4 // Jail ticket



IF <SRC.RESTEST 1 i_jailticket> // checks if the players doesnt have jail ticket in their back pack

     SRC.CONSUME=i_jailticket

     SRC.CONSUME=m_jail_clock4

        SRC.MESSAGE Choose Your Town

        DIALOG d_travel

                       SRC.ACT.SOUND=285

             ELSE

        SRC.MESSAGE Perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[ITEMDEF i_jailtime_1d]

TYPE=T_EQ_SCRIPT

ON=@TARGON_CHAR

IF ( <src.targ.body> == c_man ) || ( <src.targ.body> == c_woman )

SRC.TARG.JAIL

SRC.TARG.addjailclock1

SRC.TARG.SYSMESSAGE Welcome to Jail, <SRC.TARG.NAME>  You will be here for 1 day.

SRC.TARG.SYSMESSAGE Type .jailtime to check how much time its left on your Jail Time.

SERV.ALLCLIENTS sysmessage Player <SRC.TARG.NAME> have just been jailed by a staff member plz follow our rules!

remove

RETURN 1

ENDIF







[ITEMDEF i_jailtime_2h]

TYPE=T_EQ_SCRIPT

ON=@TARGON_CHAR

IF ( <src.targ.body> == c_man ) || ( <src.targ.body> == c_woman )

SRC.TARG.JAIL

SRC.TARG.addjailclock2

SRC.TARG.SYSMESSAGE Welcome to Jail, <SRC.TARG.NAME>  You will be here for 2 hours.

SRC.TARG.SYSMESSAGE Type .jailtime to check how much time its left on your Jail Time.

SERV.ALLCLIENTS sysmessage Player <SRC.TARG.NAME> have just been jailed by a staff member plz follow our rules!

remove

RETURN 1

ENDIF



[ITEMDEF i_jailtime_4d]

TYPE=T_EQ_SCRIPT

ON=@TARGON_CHAR

IF ( <src.targ.body> == c_man ) || ( <src.targ.body> == c_woman )

SRC.TARG.JAIL

SRC.TARG.addjailclock3

SRC.TARG.SYSMESSAGE Welcome to Jail, <SRC.TARG.NAME>  You will be here for 4 days.

SRC.TARG.SYSMESSAGE Type .jailtime to check how much time its left on your Jail Time.

SERV.ALLCLIENTS sysmessage Player <SRC.TARG.NAME> have just been jailed by a staff member plz follow our rules!

remove

RETURN 1

ENDIF



[ITEMDEF i_jailtime_1w]

TYPE=T_EQ_SCRIPT

ON=@TARGON_CHAR

IF ( <src.targ.body> == c_man ) || ( <src.targ.body> == c_woman )

SRC.TARG.JAIL

SRC.TARG.addjailclock4

SRC.TARG.SYSMESSAGE Welcome to Jail, <SRC.TARG.NAME>  You will be here for 1 week.

SRC.TARG.SYSMESSAGE Type .jailtime to check how much time its left on your Jail Time.

SERV.ALLCLIENTS sysmessage Player <SRC.TARG.NAME> have just been jailed by a staff member plz follow our rules!

remove

RETURN 1

ENDIF



[FUNCTION addjailclock1]

IF !(<FINDID.m_jail_clock1>)

NEWITEM=m_jail_clock1

ACT.CONT=<UID>

ENDIF



[ITEMDEF m_jail_clock1]

NAME=Jail Clock1

ID=i_memory

TYPE=t_eq_script

ON=@Create

TIMER=86400

ATTR=attr_decay

ON=@Timer

CONT.FORGIVE

CONT.MESSAGE You are free to go.

CONT.DIALOG d_travel



[FUNCTION addjailclock2]

IF !(<FINDID.m_jail_clock2>)

NEWITEM=m_jail_clock2

ACT.CONT=<UID>

ENDIF



[ITEMDEF m_jail_clock2]

NAME=Jail Clock2

ID=i_memory

TYPE=t_eq_script

ON=@Create

TIMER=7200

ATTR=attr_decay

ON=@Timer

CONT.FORGIVE

CONT.MESSAGE You are free to go.

CONT.DIALOG d_travel



[FUNCTION addjailclock3]

IF !(<FINDID.m_jail_clock3>)

NEWITEM=m_jail_clock3

ACT.CONT=<UID>

ENDIF



[ITEMDEF m_jail_clock3]

NAME=Jail Clock3

ID=i_memory

TYPE=t_eq_script

ON=@Create

TIMER=345600

ATTR=attr_decay

ON=@Timer

CONT.FORGIVE

CONT.MESSAGE You are free to go.

CONT.DIALOG d_travel



[FUNCTION addjailclock4]

IF !(<FINDID.m_jail_clock4>)

NEWITEM=m_jail_clock4

ACT.CONT=<UID>

ENDIF



[ITEMDEF m_jail_clock4]

NAME=Jail Clock4

ID=i_memory

TYPE=t_eq_script

ON=@Create

TIMER=604800

ATTR=attr_decay

ON=@Timer

CONT.FORGIVE

CONT.MESSAGE You are free to go.

CONT.DIALOG d_travel



[FUNCTION jailtime]

IF (<FINDID.m_jail_clock1>)

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF (<FINDID.m_jail_clock2>)

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF (<FINDID.m_jail_clock3>)

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF (<FINDID.m_jail_clock4>)

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1



[PLEVEL 1]

JAILTIME



[DIALOG d_jailtime1]

0,0

gumppic 100 150 39// Curved Grey background

button 125 390 247 248 1 0 1 // Okay, button 1

text 125 175 0 1

text 125 192 0 2

text 125 209 0 3

text 125 226 0 4

//text 130 238 1153 4

text 125 244 0 5

text 125 261 0 6

text 125 278 0 7

text 125 295 0 8

text 125 312 0 9 //Start of Welcome

text 157 153 0 10



[DIALOG d_jailtime1 TEXT]

More

You will be free in <EVAL(<FINDID.m_jail_clock1.TIMER>)>

seconds.

When the time is up a

menu will apear, there

you can select wich

town you want to travel

to.

If it dont apear use the

leave jail stone.

Jail time 1 Day



[DIALOG d_jailtime1 BUTTON]

ONBUTTON=0

SRC.SYSMESSAGE Welcome to <SERV.NAME>, <SRC.NAME>



[DIALOG d_jailtime2]

0,0

gumppic 100 150 39// Curved Grey background

button 125 390 247 248 1 0 1 // Okay, button 1

text 125 175 0 1

text 125 192 0 2

text 125 209 0 3

text 125 226 0 4

//text 130 238 1153 4

text 125 244 0 5

text 125 261 0 6

text 125 278 0 7

text 125 295 0 8

text 125 312 0 9 //Start of Welcome

text 157 153 0 10



[DIALOG d_jailtime2 TEXT]

More

You will be free in <EVAL(<FINDID.m_jail_clock2.TIMER>)>

seconds.

When the time is up a

menu will apear, there

you can select wich

town you want to travel

to.

If it dont apear use the

leave jail stone.

Jail time 2 hours



[DIALOG d_jailtime2 BUTTON]

ONBUTTON=0

SRC.SYSMESSAGE Welcome to <SERV.NAME>, <SRC.NAME>



[DIALOG d_jailtime3]

0,0

gumppic 100 150 39// Curved Grey background

button 125 390 247 248 1 0 1 // Okay, button 1

text 125 175 0 1

text 125 192 0 2

text 125 209 0 3

text 125 226 0 4

//text 130 238 1153 4

text 125 244 0 5

text 125 261 0 6

text 125 278 0 7

text 125 295 0 8

text 125 312 0 9 //Start of Welcome

text 157 153 0 10



[DIALOG d_jailtime3 TEXT]

More

You will be free in <EVAL(<FINDID.m_jail_clock3.TIMER>)>

seconds.

When the time is up a

menu will apear, there

you can select wich

town you want to travel

to.

If it dont apear use the

leave jail stone.

Jail time 4 Days



[DIALOG d_jailtime3 BUTTON]

ONBUTTON=0

SRC.SYSMESSAGE Welcome to <SERV.NAME>, <SRC.NAME>



[DIALOG d_jailtime4]

0,0

gumppic 100 150 39// Curved Grey background

button 125 390 247 248 1 0 1 // Okay, button 1

text 125 175 0 1

text 125 192 0 2

text 125 209 0 3

text 125 226 0 4

//text 130 238 1153 4

text 125 244 0 5

text 125 261 0 6

text 125 278 0 7

text 125 295 0 8

text 125 312 0 9 //Start of Welcome

text 157 153 0 10



[DIALOG d_jailtime4 TEXT]

More

You will be free in <EVAL(<FINDID.m_jail_clock4.TIMER>)>

seconds.

When the time is up a

menu will apear, there

you can select wich

town you want to travel

to.

If it dont apear use the

leave jail stone.

Jail time 1 Week



[DIALOG d_jailtime4 BUTTON]

ONBUTTON=0

SRC.SYSMESSAGE Welcome to <SERV.NAME>, <SRC.NAME>



[ITEMDEF i_jailticket]

DEFNAME=i_jailticket

ID=i_deed

TYPE=0

NAME=Leave Jail Ticket

WEIGHT=4

VALUE=20000



ON=@CREATE

COLOR=0480

ATTR=04



ON=@DClick

SRC.MESSAGE You dont need this until your in jail

RETURN 1



CATEGORY=Anew Items

SUBSECTION=Jail System

DESCRIPTION=Jail Ticket



[DIALOG d_travel]

155,60

page 0

gumppic 100 150 39// Curved Grey background



nodispose

text 160 151 0 0 // Your free to go

text 160 200 0 1 // Britain Bank

text 160 230 0 2 // Minoc Bank

text 160 260 0 3 // Buccaneerґs Den Bank

text 160 290 0 4 // Occlo Bank

text 160 320 0 5 // Duel Pits



button 142 204 1209 1210 1 0 1

button 142 234 1209 1210 1 0 2 //

button 142 263 1209 1210 1 0 3 //

button 142 293 1209 1210 1 0 4 //

button 142 323 1209 1210 1 0 5 //



text 120 415 0 8 // Scripted by admin fallzone



gumppic 145 235 50993



[DIALOG d_travel TEXT]

Your free to go

Britain Bank  

Minoc Bank

Buccaneerґs Den Bank

Occlo Bank

Duel Pits

.

.

Scripted By: Admin Fallzone  



[DIALOG d_travel BUTTON]

ONBUTTON=1

SRC.FORGIVE

SRC.GO 1438 1690 0

RETURN 1

ONBUTTON=2

SRC.FORGIVE

SRC.GO 2495 563 0

RETURN 1

ONBUTTON=3

SRC.FORGIVE

SRC.GO 2731 2187 0

RETURN 1

ONBUTTON=4

SRC.FORGIVE

SRC.GO 3697 2507 0

RETURN 1

ONBUTTON=5

SRC.FORGIVE

SRC.GO 5454 1106 0

RETURN 1





[EOF]


--------------------
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
Ozzy Osbourne
сообщение 8.1.2004, 16:55
Сообщение #2


*********

Grandmaster
Сообщений: 2.068
Регистрация: 5.8.2003
Группа: Пользователи
Наличность: 0
Пользователь №: 810
Возраст: 32



Кул...


--------------------
Forest Wars
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
command
сообщение 14.1.2005, 5:00
Сообщение #3


*

Registred
Сообщений: 5
Регистрация: 14.1.2005
Группа: Пользователи
Наличность: 0
Из: Латвия
Пользователь №: 2.888



Да... супер !


--------------------
Подписался
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
Luc&feR
сообщение 14.1.2005, 5:57
Сообщение #4


***

Novice
Сообщений: 53
Регистрация: 31.12.2004
Группа: Пользователи
Наличность: 0
Пользователь №: 2.815



Нечивошный скриптик )))


--------------------
SkateBoard Is Not A Crime
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
Not AllonE
сообщение 15.1.2005, 0:51
Сообщение #5


**

Neophyte
Сообщений: 24
Регистрация: 12.1.2005
Группа: Пользователи
Наличность: 0
Из: Moscow
Пользователь №: 2.879



Цитата
Код
[ITEMDEF i_jail_stone2]

DEFNAME=i_crystal_red

ID=i_crystal_green

RESOURCES=10 i_GEM_RUBY

NAME=Jail Stone

TYPE=T_COMM_CRYSTAL



ON=@Create

  COLOR=0486

  ATTR=04



ON=@DCLICK

if <src.isgm>

DIALOG d_jail_stone2

ELSE

MESSAGE Page GM about this item you are not allowed to use it!!

ENDIF

RETURN 1



[DIALOG d_jail_stone2]

155,60

page 0



gumppic 100 150 39



nodispose

text 118 153 0 0 //<SERV.NAME> Jail System

text 180 190 0 1  // Jail Menu

text 160 210 0 2  // 2hours

text 160 240 0 3 // 1Day

text 160 270 0 4 // 4days

text 160 300 0 5 // 1 Week



button 142 214 1209 1210 1 0 1 //

button 142 243 1209 1210 1 0 2 //

button 142 273 1209 1210 1 0 3 //

button 142 303 1209 1210 1 0 4 //

button 267 370 2450 2451 1 0 5 //



text 120 397 0 8 // Scripted by admin fallzone

text 120 415 0 9 // Version 1.09



[DIALOG d_jail_stone2 TEXT]

<SERV.NAME> Jail System

Jailtimes:

2hour

1Day

4Days

1Week

.

.

Scripted By: Admin Fallzone  

Version 1.09



[DIALOG d_jail_stone2 BUTTON]



ONBUTTON=1 //2 Hour jail



src.newitem=i_jailtime_2h

src.act.target

SRC.SYSMESSAGE Who do you wish to jail for 2 hours??

RETURN 1



ONBUTTON=2 // 1 Day

src.newitem=i_jailtime_1d

src.act.target

SRC.SYSMESSAGE Who do you wish to jail for 1 day??

RETURN 1



ONBUTTON=3 // 4 days

src.newitem=i_jailtime_4d

src.act.target

SRC.SYSMESSAGE Who do you wish to jail for 4 days??

RETURN 1



ONBUTTON=4 // 1 week

src.newitem=i_jailtime_1w

src.act.target

SRC.SYSMESSAGE Who do you wish to jail for 1 week??

RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[ITEMDEF i_leavejail_stone]

NAME=Leave Jail Stone

ID=0edc

ON=@CREATE

ATTR 0010

COLOR=0455

TYPE=1





ON=@DCLICK

IF <SRC.RESTEST 1 m_jail_clock1>

  DIALOG d_leave_stone2

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

  DIALOG d_leave_stone

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

  DIALOG d_leave_stone3

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

  DIALOG d_leave_stone4

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ELSE

  DIALOG d_leave_stone

  SRC.SYSMESSAGE Brings up the jail menu.

  RETURN 1

ENDIF

RETURN 1



CATEGORY=Anew Items

SUBSECTION=Jail System

DESCRIPTION=Leave Jail Stone



[DIALOG d_leave_stone]

155,60

page 0

resizepic 0 0 5170 440 480



noclose

nodispose

text 85 3 0 0 // Welcome to <SERV.NAME> Jail System

text 200 70 0 1  // Jail Menu

text 180 90 0 2  // Pay Bail

text 180 120 0 3 // Check Jailtime

text 180 150 0 4 // Am i free

text 180 180 0 5 // Il use my jail ticket



button 162 94 1209 1210 1 0 1 //Pay Bail

button 162 123 1209 1210 1 0 2 //Check Jailtime

button 162 153 1209 1210 1 0 3 // Am i free

button 162 183 1209 1210 1 0 4 //Il use my jail ticket

button 360 420 2450 2451 1 0 5 // OK Button



text 160 453 0 8 // Scripted by admin fallzone

text 20 320 0 9 //To check

text 20 338 0 10 //how many seconds



gumppic 280 40 13

gumppic 280 40 60438

gumppic 280 40 60440

gumppic 280 40 60441

gumppic 280 40 50614

gumppic 280 40 50478



gumppic 1 40 990

gumppic 1 50 60992

gumppic 1 40 60653



[DIALOG d_leave_stone TEXT]

Welcome to <SERV.NAME> Jail System

Jail Menu

Pay bail 16000gp.

Check jail time.

Am i free?

Il use my jail ticket

.

.

Scripted By: Admin Fallzone  

To check your jailtime type .jailtime to display

how many seconds you got left on your jailtime.



[DIALOG d_leave_stone BUTTON]



ONBUTTON=1 //Bail Paying

IF <SRC.RESTEST 16000 i_gold>

     SRC.CONSUME=16000 i_gold

     SRC.consume=m_jail_clock2

     SRC.FORGIVE

     SRC.MESSAGE=Your money has been accepted, you are free to go

     DIALOG d_travel

     ELSE

     SRC.MESSAGE You do not have enough gold, perhaps it is in your bank?

     SRC.BANK

     ENDIF

     RETURN 1



ONBUTTON=2 // Jail time



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1





ONBUTTON=3 // Am i free



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.MESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.MESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.MESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.MESSAGE You are not free yet.

  RETURN 1

  ELSE

  DIALOG d_travel

  MESSAGE Your free to go be nice next time

ENDIF

RETURN 1



ONBUTTON=4 // Jail ticket



IF <SRC.RESTEST 1 i_jailticket> // checks if the players doesnt have jail ticket in their back pack

     SRC.CONSUME=i_jailticket

     SRC.CONSUME=m_jail_clock2

        SRC.MESSAGE Choose Your Town

        DIALOG d_travel

                       SRC.ACT.SOUND=285

             ELSE

        SRC.MESSAGE Perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[DIALOG d_leave_stone2]

155,60

page 0

resizepic 0 0 5170 440 480



noclose

nodispose

text 85 3 0 0 // Welcome to <SERV.NAME> Jail System

text 200 70 0 1  // Jail Menu

text 180 90 0 2  // Pay Bail

text 180 120 0 3 // Check Jailtime

text 180 150 0 4 // Am i free

text 180 180 0 5 // Il use my jail ticket



button 162 94 1209 1210 1 0 1 //Pay Bail

button 162 123 1209 1210 1 0 2 //Check Jailtime

button 162 153 1209 1210 1 0 3 // Am i free

button 162 183 1209 1210 1 0 4 //Il use my jail ticket

button 360 420 2450 2451 1 0 5 // OK Button



text 160 453 0 8 // Scripted by admin fallzone

text 20 320 0 9 //To check

text 20 338 0 10 //how many seconds



gumppic 280 40 13

gumppic 280 40 60438

gumppic 280 40 60440

gumppic 280 40 60441

gumppic 280 40 50614

gumppic 280 40 50478



gumppic 1 40 990

gumppic 1 50 60992

gumppic 1 40 60653



[DIALOG d_leave_stone2 TEXT]

Welcome to <SERV.NAME> Jail System

Jail Menu

Pay bail 30000gp.

Check jail time.

Am i free?

Il use my jail ticket

.

.

Scripted By: Admin Fallzone  

To check your jailtime type .jailtime to display

how many seconds you got left on your jailtime.



[DIALOG d_leave_stone2 BUTTON]



ONBUTTON=1 //Bail Paying

IF <SRC.RESTEST 30000 i_gold>

        SRC.CONSUME=30000 i_gold

        SRC.consume m_jail_clock1

        SRC.FORGIVE

        SRC.MESSAGE=Your money has been accepted, you are free to go

        DIALOG d_travel

        ELSE

        SRC.MESSAGE You do not have enough gold, perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=2 // Jail time



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1



ONBUTTON=3 // Am i free



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.

  RETURN 1

  ELSE

  DIALOG d_travel

  MESSAGE Your free to go be nice next time

ENDIF

RETURN 1



ONBUTTON=4 // Jail ticket



IF <SRC.RESTEST 1 i_jailticket> // checks if the players doesnt have jail ticket in their back pack

     SRC.CONSUME=i_jailticket

     SRC.CONSUME=m_jail_clock1

        SRC.MESSAGE Choose Your Town

        DIALOG d_travel

                       SRC.ACT.SOUND=285

             ELSE

        SRC.MESSAGE Perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[DIALOG d_leave_stone3]

155,60

page 0

resizepic 0 0 5170 440 480



noclose

nodispose

text 85 3 0 0 // Welcome to <SERV.NAME> Jail System

text 200 70 0 1  // Jail Menu

text 180 90 0 2  // Pay Bail

text 180 120 0 3 // Check Jailtime

text 180 150 0 4 // Am i free

text 180 180 0 5 // Il use my jail ticket



button 162 94 1209 1210 1 0 1 //Pay Bail

button 162 123 1209 1210 1 0 2 //Check Jailtime

button 162 153 1209 1210 1 0 3 // Am i free

button 162 183 1209 1210 1 0 4 //Il use my jail ticket

button 360 420 2450 2451 1 0 5 // OK Button



text 160 453 0 8 // Scripted by admin fallzone

text 20 320 0 9 //To check

text 20 338 0 10 //how many seconds



gumppic 280 40 13

gumppic 280 40 60438

gumppic 280 40 60440

gumppic 280 40 60441

gumppic 280 40 50614

gumppic 280 40 50478



gumppic 1 40 990

gumppic 1 50 60992

gumppic 1 40 60653





[DIALOG d_leave_stone3 TEXT]

Welcome to <SERV.NAME> Jail System

Jail Menu

Pay bail 80000gp.

Check jail time.

Am i free?

Il use my jail ticket

.

.

Scripted By: Admin Fallzone  

To check your jailtime type .jailtime to display

how many seconds you got left on your jailtime.



[DIALOG d_leave_stone3 BUTTON]



ONBUTTON=1 //Bail Paying

IF <SRC.RESTEST 80000 i_gold>

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=30000 i_gold

        SRC.consume m_jail_clock3

        SRC.FORGIVE

        SRC.MESSAGE=Your money has been accepted, you are free to go

        DIALOG d_travel

        ELSE

        SRC.MESSAGE You do not have enough gold, perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=2 // Jail time



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1



ONBUTTON=3 // Am i free



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.

  RETURN 1

  ELSE

  DIALOG d_travel

  MESSAGE Your free to go be nice next time

ENDIF

RETURN 1



ONBUTTON=4 // Jail ticket



IF <SRC.RESTEST 1 i_jailticket> // checks if the players doesnt have jail ticket in their back pack

     SRC.CONSUME=i_jailticket

     SRC.CONSUME=m_jail_clock3

        SRC.MESSAGE Choose Your Town

        DIALOG d_travel

                       SRC.ACT.SOUND=285

             ELSE

        SRC.MESSAGE Perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[DIALOG d_leave_stone4]

155,60

page 0

resizepic 0 0 5170 440 480







noclose

nodispose

text 85 3 0 0 // Welcome to <SERV.NAME> Jail System

text 200 70 0 1  // Jail Menu

text 180 90 0 2  // Pay Bail

text 180 120 0 3 // Check Jailtime

text 180 150 0 4 // Am i free

text 180 180 0 5 // Il use my jail ticket



button 162 94 1209 1210 1 0 1 //Pay Bail

button 162 123 1209 1210 1 0 2 //Check Jailtime

button 162 153 1209 1210 1 0 3 // Am i free

button 162 183 1209 1210 1 0 4 //Il use my jail ticket

button 360 420 2450 2451 1 0 5 // OK Button



text 160 453 0 8 // Scripted by admin fallzone

text 20 320 0 9 //To check

text 20 338 0 10 //how many seconds



gumppic 280 40 13

gumppic 280 40 60438

gumppic 280 40 60440

gumppic 280 40 60441

gumppic 280 40 50614

gumppic 280 40 50478



gumppic 1 40 990

gumppic 1 50 60992

gumppic 1 40 60653



[DIALOG d_leave_stone4 TEXT]

Welcome to <SERV.NAME> Jail System

Jail Menu

Pay bail 300000gp.

Check jail time.

Am i free?

Il use my jail ticket

.

.

Scripted By: Admin Fallzone  

To check your jailtime type .jailtime to display

how many seconds you got left on your jailtime.



[DIALOG d_leave_stone4 BUTTON]



ONBUTTON=1 //Bail Paying

IF <SRC.RESTEST 300000 i_gold>

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.CONSUME=50000 i_gold

        SRC.consume m_jail_clock4

        SRC.FORGIVE

        SRC.MESSAGE=Your money has been accepted, you are free to go

        DIALOG d_travel

        ELSE

        SRC.MESSAGE You do not have enough gold, perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=2 // Jail time



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1





ONBUTTON=3 // Am i free



IF <SRC.RESTEST 1 m_jail_clock1>

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock2>

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock3>

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.



  RETURN 1

ELSEIF <SRC.RESTEST 1 m_jail_clock4>

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  SRC.SYSMESSAGE You are not free yet.

  RETURN 1

  ELSE

  DIALOG d_travel

  MESSAGE Your free to go be nice next time

ENDIF

RETURN 1



ONBUTTON=4 // Jail ticket



IF <SRC.RESTEST 1 i_jailticket> // checks if the players doesnt have jail ticket in their back pack

     SRC.CONSUME=i_jailticket

     SRC.CONSUME=m_jail_clock4

        SRC.MESSAGE Choose Your Town

        DIALOG d_travel

                       SRC.ACT.SOUND=285

             ELSE

        SRC.MESSAGE Perhaps it is in your bank?

        SRC.BANK

        ENDIF

        RETURN 1



ONBUTTON=5 // Ok button

SRC.SOUND 552

RETURN 1



[ITEMDEF i_jailtime_1d]

TYPE=T_EQ_SCRIPT

ON=@TARGON_CHAR

IF ( <src.targ.body> == c_man ) || ( <src.targ.body> == c_woman )

SRC.TARG.JAIL

SRC.TARG.addjailclock1

SRC.TARG.SYSMESSAGE Welcome to Jail, <SRC.TARG.NAME>  You will be here for 1 day.

SRC.TARG.SYSMESSAGE Type .jailtime to check how much time its left on your Jail Time.

SERV.ALLCLIENTS sysmessage Player <SRC.TARG.NAME> have just been jailed by a staff member plz follow our rules!

remove

RETURN 1

ENDIF







[ITEMDEF i_jailtime_2h]

TYPE=T_EQ_SCRIPT

ON=@TARGON_CHAR

IF ( <src.targ.body> == c_man ) || ( <src.targ.body> == c_woman )

SRC.TARG.JAIL

SRC.TARG.addjailclock2

SRC.TARG.SYSMESSAGE Welcome to Jail, <SRC.TARG.NAME>  You will be here for 2 hours.

SRC.TARG.SYSMESSAGE Type .jailtime to check how much time its left on your Jail Time.

SERV.ALLCLIENTS sysmessage Player <SRC.TARG.NAME> have just been jailed by a staff member plz follow our rules!

remove

RETURN 1

ENDIF



[ITEMDEF i_jailtime_4d]

TYPE=T_EQ_SCRIPT

ON=@TARGON_CHAR

IF ( <src.targ.body> == c_man ) || ( <src.targ.body> == c_woman )

SRC.TARG.JAIL

SRC.TARG.addjailclock3

SRC.TARG.SYSMESSAGE Welcome to Jail, <SRC.TARG.NAME>  You will be here for 4 days.

SRC.TARG.SYSMESSAGE Type .jailtime to check how much time its left on your Jail Time.

SERV.ALLCLIENTS sysmessage Player <SRC.TARG.NAME> have just been jailed by a staff member plz follow our rules!

remove

RETURN 1

ENDIF



[ITEMDEF i_jailtime_1w]

TYPE=T_EQ_SCRIPT

ON=@TARGON_CHAR

IF ( <src.targ.body> == c_man ) || ( <src.targ.body> == c_woman )

SRC.TARG.JAIL

SRC.TARG.addjailclock4

SRC.TARG.SYSMESSAGE Welcome to Jail, <SRC.TARG.NAME>  You will be here for 1 week.

SRC.TARG.SYSMESSAGE Type .jailtime to check how much time its left on your Jail Time.

SERV.ALLCLIENTS sysmessage Player <SRC.TARG.NAME> have just been jailed by a staff member plz follow our rules!

remove

RETURN 1

ENDIF



[FUNCTION addjailclock1]

IF !(<FINDID.m_jail_clock1>)

NEWITEM=m_jail_clock1

ACT.CONT=<UID>

ENDIF



[ITEMDEF m_jail_clock1]

NAME=Jail Clock1

ID=i_memory

TYPE=t_eq_script

ON=@Create

TIMER=86400

ATTR=attr_decay

ON=@Timer

CONT.FORGIVE

CONT.MESSAGE You are free to go.

CONT.DIALOG d_travel



[FUNCTION addjailclock2]

IF !(<FINDID.m_jail_clock2>)

NEWITEM=m_jail_clock2

ACT.CONT=<UID>

ENDIF



[ITEMDEF m_jail_clock2]

NAME=Jail Clock2

ID=i_memory

TYPE=t_eq_script

ON=@Create

TIMER=7200

ATTR=attr_decay

ON=@Timer

CONT.FORGIVE

CONT.MESSAGE You are free to go.

CONT.DIALOG d_travel



[FUNCTION addjailclock3]

IF !(<FINDID.m_jail_clock3>)

NEWITEM=m_jail_clock3

ACT.CONT=<UID>

ENDIF



[ITEMDEF m_jail_clock3]

NAME=Jail Clock3

ID=i_memory

TYPE=t_eq_script

ON=@Create

TIMER=345600

ATTR=attr_decay

ON=@Timer

CONT.FORGIVE

CONT.MESSAGE You are free to go.

CONT.DIALOG d_travel



[FUNCTION addjailclock4]

IF !(<FINDID.m_jail_clock4>)

NEWITEM=m_jail_clock4

ACT.CONT=<UID>

ENDIF



[ITEMDEF m_jail_clock4]

NAME=Jail Clock4

ID=i_memory

TYPE=t_eq_script

ON=@Create

TIMER=604800

ATTR=attr_decay

ON=@Timer

CONT.FORGIVE

CONT.MESSAGE You are free to go.

CONT.DIALOG d_travel



[FUNCTION jailtime]

IF (<FINDID.m_jail_clock1>)

SRC.DIALOG d_jailtime1

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF (<FINDID.m_jail_clock2>)

SRC.DIALOG d_jailtime2

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF (<FINDID.m_jail_clock3>)

SRC.DIALOG d_jailtime3

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ELSEIF (<FINDID.m_jail_clock4>)

SRC.DIALOG d_jailtime4

  SRC.SYSMESSAGE Brings up the jail time menu.

  RETURN 1

ENDIF

RETURN 1



[PLEVEL 1]

JAILTIME



[DIALOG d_jailtime1]

0,0

gumppic 100 150 39// Curved Grey background

button 125 390 247 248 1 0 1 // Okay, button 1

text 125 175 0 1

text 125 192 0 2

text 125 209 0 3

text 125 226 0 4

//text 130 238 1153 4

text 125 244 0 5

text 125 261 0 6

text 125 278 0 7

text 125 295 0 8

text 125 312 0 9 //Start of Welcome

text 157 153 0 10



[DIALOG d_jailtime1 TEXT]

More

You will be free in <EVAL(<FINDID.m_jail_clock1.TIMER>)>

seconds.

When the time is up a

menu will apear, there

you can select wich

town you want to travel

to.

If it dont apear use the

leave jail stone.

Jail time 1 Day



[DIALOG d_jailtime1 BUTTON]

ONBUTTON=0

SRC.SYSMESSAGE Welcome to <SERV.NAME>, <SRC.NAME>



[DIALOG d_jailtime2]

0,0

gumppic 100 150 39// Curved Grey background

button 125 390 247 248 1 0 1 // Okay, button 1

text 125 175 0 1

text 125 192 0 2

text 125 209 0 3

text 125 226 0 4

//text 130 238 1153 4

text 125 244 0 5

text 125 261 0 6

text 125 278 0 7

text 125 295 0 8

text 125 312 0 9 //Start of Welcome

text 157 153 0 10



[DIALOG d_jailtime2 TEXT]

More

You will be free in <EVAL(<FINDID.m_jail_clock2.TIMER>)>

seconds.

When the time is up a

menu will apear, there

you can select wich

town you want to travel

to.

If it dont apear use the

leave jail stone.

Jail time 2 hours



[DIALOG d_jailtime2 BUTTON]

ONBUTTON=0

SRC.SYSMESSAGE Welcome to <SERV.NAME>, <SRC.NAME>



[DIALOG d_jailtime3]

0,0

gumppic 100 150 39// Curved Grey background

button 125 390 247 248 1 0 1 // Okay, button 1

text 125 175 0 1

text 125 192 0 2

text 125 209 0 3

text 125 226 0 4

//text 130 238 1153 4

text 125 244 0 5

text 125 261 0 6

text 125 278 0 7

text 125 295 0 8

text 125 312 0 9 //Start of Welcome

text 157 153 0 10



[DIALOG d_jailtime3 TEXT]

More

You will be free in <EVAL(<FINDID.m_jail_clock3.TIMER>)>

seconds.

When the time is up a

menu will apear, there

you can select wich

town you want to travel

to.

If it dont apear use the

leave jail stone.

Jail time 4 Days



[DIALOG d_jailtime3 BUTTON]

ONBUTTON=0

SRC.SYSMESSAGE Welcome to <SERV.NAME>, <SRC.NAME>



[DIALOG d_jailtime4]

0,0

gumppic 100 150 39// Curved Grey background

button 125 390 247 248 1 0 1 // Okay, button 1

text 125 175 0 1

text 125 192 0 2

text 125 209 0 3

text 125 226 0 4

//text 130 238 1153 4

text 125 244 0 5

text 125 261 0 6

text 125 278 0 7

text 125 295 0 8

text 125 312 0 9 //Start of Welcome

text 157 153 0 10



[DIALOG d_jailtime4 TEXT]

More

You will be free in <EVAL(<FINDID.m_jail_clock4.TIMER>)>

seconds.

When the time is up a

menu will apear, there

you can select wich

town you want to travel

to.

If it dont apear use the

leave jail stone.

Jail time 1 Week



[DIALOG d_jailtime4 BUTTON]

ONBUTTON=0

SRC.SYSMESSAGE Welcome to <SERV.NAME>, <SRC.NAME>



[ITEMDEF i_jailticket]

DEFNAME=i_jailticket

ID=i_deed

TYPE=0

NAME=Leave Jail Ticket

WEIGHT=4

VALUE=20000



ON=@CREATE

COLOR=0480

ATTR=04



ON=@DClick

SRC.MESSAGE You dont need this until your in jail

RETURN 1



CATEGORY=Anew Items

SUBSECTION=Jail System

DESCRIPTION=Jail Ticket



[DIALOG d_travel]

155,60

page 0

gumppic 100 150 39// Curved Grey background



nodispose

text 160 151 0 0 // Your free to go

text 160 200 0 1 // Britain Bank

text 160 230 0 2 // Minoc Bank

text 160 260 0 3 // Buccaneerґs Den Bank

text 160 290 0 4 // Occlo Bank

text 160 320 0 5 // Duel Pits



button 142 204 1209 1210 1 0 1

button 142 234 1209 1210 1 0 2 //

button 142 263 1209 1210 1 0 3 //

button 142 293 1209 1210 1 0 4 //

button 142 323 1209 1210 1 0 5 //



text 120 415 0 8 // Scripted by admin fallzone



gumppic 145 235 50993



[DIALOG d_travel TEXT]

Your free to go

Britain Bank  

Minoc Bank

Buccaneerґs Den Bank

Occlo Bank

Duel Pits

.

.

Scripted By: Admin Fallzone  



[DIALOG d_travel BUTTON]

ONBUTTON=1

SRC.FORGIVE

SRC.GO 1438 1690 0

RETURN 1

ONBUTTON=2

SRC.FORGIVE

SRC.GO 2495 563 0

RETURN 1

ONBUTTON=3

SRC.FORGIVE

SRC.GO 2731 2187 0

RETURN 1

ONBUTTON=4

SRC.FORGIVE

SRC.GO 3697 2507 0

RETURN 1

ONBUTTON=5

SRC.FORGIVE

SRC.GO 5454 1106 0

RETURN 1





[EOF]







можно если не рудно обьяснить куда ето вставить и что ето это больше на скрипт на инжу похож


--------------------
!!!!!!!!!!!!!!!!!!Back To LifE!!!!!!!!!!!!!!!!!!!!!
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
NFx
сообщение 15.1.2005, 14:13
Сообщение #6


********

SpS 60+(умер), NE Priest 40+ жифф
Сообщений: 1.505
Регистрация: 3.9.2003
Группа: Пользователи
Наличность: 0
Из: Подмосковье
Пользователь №: 950



Обсуждение в "скрипты 55i"


--------------------
Важна не реклама, а качество.
Качество - девиз хороших серверов.
Продуманность и готовность - девиз очень хороших серверов.
..::Lorien Role-Playing Shard(RunUO)::..
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения

Тема закрытаОткрыть новую тему
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 

- Текстовая версия | Версия для КПК Сейчас: 23.6.2025, 22:30
Designed by Nickostyle