making a script working from 48e to 51a

You can talk about anything here.

Moderators: Dezonus, Moderator

making a script working from 48e to 51a

Postby crispy21 on Mon Aug 29, 2005 5:13 am

hey!


would anyone make this 48e script so its can work on 51a?

would be greatly appreciated

cheers,

Crispy21

Code: Select all
[7a29]
NAME=Duel Pits
ID=04f2
TYPE=0
ATTR=92

ONTRIGGER=TIMER

IF (<LINK.HITPOINTS><<LINK.STR>)
LINK.SAY Interrupted
LINK.NECROMANCY=0
REMOVE
RETURN 1
ENDIF

IF (<MOREX>>0)
LINK.SAY <MOREX>
MOREX=(<MOREX>+-1)
TIMER=1
RETURN 1
ELSE
LINK.GO PITS
LINK.NECROMANCY=0
REMOVE
RETURN 1
ENDIF
crispy21
n00b
n00b
 
Posts: 1
Joined: Mon Aug 29, 2005 5:10 am

Postby Bronx on Tue Nov 01, 2005 10:43 pm

This should work in 51a by default.

Most 48e scripts can be used in 51a, but thats most.

I don't see anything in this script that would make it not work in 51a but I haven't done some scripting in a while.

I'm pretty confident though that it will work in 51a.

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

Postby HazardousUO on Wed Nov 02, 2005 4:48 pm

This should be working pad for 51a not the best but its a working one
... xuo style rune...


[7c35]
id=1f14
name=duel pits rune
type=58
color=27
attr=10

ontrigger=damage
return 1

ontrigger=dclick
return 1

ontrigger=step
if <src.restest 1 07c37> //07c37 item to check if currently leaving
return 1
else
endif

if (<src.hitpoints> >= <src.str>)
src.newitem=07c36
src.act.link=<src.uid>
src.act.timer=1
src.newitem=07c37
src.act.equip
return 1
else
src.sysmessage You need full health to leave
return 1

[7c36]
id=2007
attr=8080
morex=0

ontrigger=timer
if (<link.hitpoints> >= <link.str>)
else
link.say Interrupted
link.findid(07c37).remove
remove
return 1
endif
if (<morex> == 0)
link.say 3
else
endif
if (<morex> == 1)
link.say 2
else
endif
if (<morex> == 2)
link.say 1
else
endif
if (<morex> == 3)
link.go=ocllo //<-- change to your coords
link.findid(07c37).remove
remove
return 1
else
endif
morex=<morex>+1
timer=1
return 1



[7c37]
id=2007
name=memory
attr=8080
layer=110
HazardousUO
Wannabe
Wannabe
 
Posts: 78
Joined: Wed Oct 12, 2005 10:13 am


Return to General Board

Who is online

Users browsing this forum: No registered users and 0 guests

cron