money stone duel?

Trying to make a script in TUS 48e and need an answer or two? Ask here. Please don't request scripts be made here.

Moderators: Dezonus, Moderator

money stone duel?

Postby virus_marcus on Sun May 22, 2005 9:10 am

any have any script for duel for money for 48e? thx to all :roll:
User avatar
virus_marcus
Happy poster
Happy poster
 
Posts: 21
Joined: Sun Aug 22, 2004 4:32 pm

Postby zylex on Sun May 22, 2005 12:17 pm

yup
Knowledge is power!
User avatar
zylex
Happy poster
Happy poster
 
Posts: 41
Joined: Thu Aug 19, 2004 2:22 pm
Location: Retarded?

Postby virus_marcus on Sun May 22, 2005 8:55 pm

can u post scripts zylex? :(
User avatar
virus_marcus
Happy poster
Happy poster
 
Posts: 21
Joined: Sun Aug 22, 2004 4:32 pm

Postby Bronx on Sat Jun 25, 2005 6:30 pm

This isn't the place for requesting scripts.

If you try and script it yourself and need help, feel free to post what you got and ask for help with it.

Regards,
Bronx
User avatar
Bronx
Wannabe
Wannabe
 
Posts: 100
Joined: Thu Sep 02, 2004 10:15 am

money duel stone

Postby puffpuff21 on Wed Jun 29, 2005 11:09 am

here is what i got so far need a little help


[####]
// 1v1 arena stone
ID=0ed4
NAME=5k Duel Stone
COLOR=0999
ATTR=010
TYPE=38
MORE1=0

ONTRIGGER=TIMER
if <more2>>0
timer= 1
more2=(<more2>+-1)
say <valstr <more2>> U Win 10k ...
return 1
else
say The arena is now open for new challengers...
TIMER=-1
RETURN 1

ONTRIGGER=DCLICK

IF (<SRC.PLEVEL>>1)&&(<SRC.PLEVEL> < 6)
SRC.MESSAGE=Staff cannot use this, fix it the right way
RETURN 1
ENDIF

IF (<SRC.FLAGS>&080000000)
SRC.MESSAGE=You cannot use this mounted
RETURN 1
ENDIF

IF (<SRC.FLAGS>&0400)
SRC.MESSAGE=You cannot use that out of your natural form
RETURN 1
ENDIF

IF <SRC.RESTEST 5000 GOLD>
SRC.CONSUME=5000 GOLD
morep=<src.p>
var.y=<morey>
morep=<p>
if (<var.y> < <morey>) // player is standing north of the stone
if (<more1>==0)
more1=1
src.go <p>
src.move 0 1 0
return 1
endif
src.newitem=10000
SRC.ACT.AMOUNT=1
SRC.ACT.BOUNCE

if (<more1>==1)
IF <SRC.RESTEST 5000 GOLD>
SRC.CONSUME=5000 GOLD
if (<more2>==0)
more1=2
src.go <p>
src.move 0 1 0
return 1
endif
endif
else
if (<more1> < 2)
more1=0
src.go <p>
src.move 0 -1 0
return 1
endif

if (<more1>==2)
if (<src.hits>==0)
more1=1
timer=1
more2=a
src.go 10,10,10
src.resurrect
src.go #### // edit this
say The Killer now has 10 seconds to leave the arena...
return 1
endif
endif
endif
return 1
puffpuff21
n00b
n00b
 
Posts: 19
Joined: Mon Aug 30, 2004 12:51 am

Postby Bronx on Wed Jun 29, 2005 7:31 pm

Explain what problems you are having because this is a very messy script. ;)

But to help you a little, some of your IF's and ENDIF's are wrong or missing, going over it and fixing it up might help you.

Regards,
Bronx
User avatar
Bronx
Wannabe
Wannabe
 
Posts: 100
Joined: Thu Sep 02, 2004 10:15 am

ok

Postby puffpuff21 on Wed Jun 29, 2005 9:42 pm

well one problem is it won't take the money from them and then when they exit it does not give money back also does not give the person that won his money that is about it. if u could msn me that would be great :>
puffpuff21
n00b
n00b
 
Posts: 19
Joined: Mon Aug 30, 2004 12:51 am

Postby Bronx on Thu Jun 30, 2005 8:50 am

The problems you are having are with your IF's and ENDIF's. You need to organize them and make sure they aren't in the wrong place because most of them are.

Regards,
Bronx
User avatar
Bronx
Wannabe
Wannabe
 
Posts: 100
Joined: Thu Sep 02, 2004 10:15 am

ya bronx know what u are talking about now thanks :>

Postby puffpuff21 on Sun Oct 23, 2005 5:47 pm

thanks bronx :> that helped :P
puffpuff21
n00b
n00b
 
Posts: 19
Joined: Mon Aug 30, 2004 12:51 am


Return to TUS48e/Sphere51a help

Who is online

Users browsing this forum: No registered users and 1 guest

cron