QFunction-0.txt

Mu online season 21 - grand opening

spence

Golden Oldie
Golden Oldie
Aug 30, 2004
507
0
103
Hello every 1 i have done a search on this and not much apears i think every one that no`s something about it should post it because there are lots of features for it now and none are posted

:agree:

/Thanks :D



Edit : come on peeps dont make me double post to get this thread back on the new post list :P
 
Last edited:

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
103
hmm how to explain easily

ok 1st

open your qfunction-0 txt file from market def

and type this

[@StdModeFunc1]
{

}


ok inside them brackets is were you post the code you want to run when you double click an item (npc code be4 u ask :p)

now go into your databse and make an new item

make it stdmode 31 and anicount 1

see were im goin with this?

now to make another put this in the same txt file after 1st code


[@StdModeFunc2]
{

}


same as last time excenpt this time the items anicount should be 2 rest explains itself i think
 
Upvote 0

Toxick

Golden Oldie
Golden Oldie
Apr 17, 2003
1,397
0
173
what was the point in that? posting the same twice 20 mins later...

there are alot of functions for the q-function, like when you level up you can send a msg to the player, congratlating them in the level up ect... i dont know the commands for them, but they are on the forum somewere on the release section in mir chat... think it might be my post were i posted on how to do q-function...

EDIT

how to activate a npc scipt when you level.

[@PlayLevelUp]
NPC SCRIPT HERE

when you kill a player(i think)

[@KillPlay]
NPC SCRIPT HERE

when you die(i think)

[@PlayDie]
NPC SCRIPT HERE
 
Upvote 0

Ragnar

Hallowed be thy name
Legendary
Golden Oldie
Loyal Member
Jul 20, 2004
5,258
3
275
daniejam said:
hmm how to explain easily

ok 1st

open your qfunction-0 txt file from market def

and type this

[@StdModeFunc1]
{

}


ok inside them brackets is were you post the code you want to run when you double click an item (npc code be4 u ask :p)

now go into your databse and make an new item

make it stdmode 31 and anicount 1

see were im goin with this?

now to make another put this in the same txt file after 1st code


[@StdModeFunc2]
{

}


same as last time excenpt this time the items anicount should be 2 rest explains itself i think
Cough .
 
Upvote 0

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
103
NightScare said:
Ok, so another question, how do u make it so....wen u click a certain Item e.g

PrizeBox

it gives u a random Items? just wondering.


as gimp said lol ive already posted it m8
 
Upvote 0

NightScare

Legend
Legendary
Nov 11, 2005
3,082
229
290
Nottingham
daniejam said:
as gimp said lol ive already posted it m8


u still havnt exsplained how u make the npc give u random items

Out of guess do u put

[Stdmodefun]
1/100 noblering
1/100 thundering

Like a Drop List?


this will meant when i click the item wif stdmode 31 and annicount 1...i may win 1 of theese pRIZES
 
Upvote 0

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
103
try this


Daniel said:
[@main]
#IF
random 4
#ACT
GIVE itemname 1
goto@complete
BREAK

#IF
random 4
#ACT
give itemname 1
goto@complete
BREAK

#IF
random 4
#ACT
give itemname 1
goto@complete
BREAK

#ELSEACT
goto @main
BREAK

[@complete]
#SAY
you have received itemname
[\QUOTE]

this will loop the random request over and over till they get an item and then go to @complete
 
Upvote 0