Help please

andykid131

Golden Oldie
Golden Oldie
Mar 16, 2006
621
3
53
165
I am just woundering, but would you please tell me the commands in Qfunction and Qmanage, such as [@login] and if you can please give an example, such as:
Code:
[@Login]
#SAY
Welcome <$USERNAME>! Have fun on this server!
<Exit/@exit>\

Thanks in advance,
Aerisx
 

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,357
55
335
England
Levelup;

Code:
[@levelup]
#IF
CHECKLEVEL 7
#SAY
Congratulations on reaching level 7, <$username>\
<Thanks!/@exit>\

Or a more complex script would be this, which gives the user their first book;

Code:
[@levelup]
#IF
CHECKLEVEL 7
CHECKJOB warrior
#ACT
GIVE fencing
#IF
CHECKLEVEL 7
CHECKJOB taoist
#ACT
GIVE healing
#IF
CHECKLEVEL 7
CHECKJOB wizard
#ACT
GIVE fireball
#SAY
Congratulations on reaching level 7, <$username>\
I hope this helps you in your journeys!\
<Thanks!/@exit>\

Kill Mob;

Code:
[@ONKILLMOB(ArcherGuard)]
#SAY
OMG you killed an ArcherGuard!\
<yep!/@exit>\

Or this, which increases their pkpoint by 1 kill (100)

Code:
[@ONKILLMOB(ArcherGuard)]
#ACT
PKPOINT 100
#SAY
OMG you killed an ArcherGuard!\
That's not allowed, pk points added!\
<bah!/@exit>\
 
Upvote 0

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
Another use for it is Scripts that run when you double click a certain item:

In your STD_ITEMS table create and item with the following:
Code:
FLD_STDMODE = 31
FLD_ANICOUNT = 26

Then in you Envir->Market_def->QFunction-0:
Code:
[@StdModeFunc26]
#IF
#ACT
#SAY
Hello you just clicked an item! \ \

31 always have to be the same for these sort of items, but you can change the AniCount. For example AniCount 50 = [@StdModeFunc50] in QFunction-0

p
 
Upvote 0

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
105
QManage;
[@Login]
#IF
ISNEWHUMAN
#ACT
SengMsg 1 "<%s> has just joined our server, everyone say hello!"
break

#IF
ISCASTLEMASTER
#ACT
SendMsg 1 "Sabuk Wall Lord < %S> Has Connected!"
break

#IF
ISCASTLEGUILD
#ACT
SendMsg 1 "Sabuk Wall Member < %S> Has Connected!"
break
 
Upvote 0