Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
Google, AhrefsBot

Members: 0
Guests: 66
Stats
Files
Topics
Posts
Members
Newest Member
489
3,792
19,647
597
Aileenutz

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » General » Building » Create a tag/flag and store v...
Forum Rules | Mark all | Recent Posts

Create a tag/flag and store values in it?
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Mar 18, 2024 8:13 pm   
Go to the top of the page
Go to the bottom of the page

Salan
Fledgling
GroupMembers
Posts5
JoinedMar 16, 2024

 
In the 90s I remember being able to track how many times an object had been interacted with, and building an if check group off of that for increasing danger in responses. Smaug 1.4a


I can't find the mp command i must have used for that.

my testing.

MPFLAG
MPTAG

neither of these seem to work.

IFCHECK ISFLAGGED
IFCHECK ISTAGGED

nor do these seem to work with how the syntax is written in Herme's guides.
I suspect they might be for that one mud only..


Does anyone know of any way to set your own flag and assign variables (or do math with variables) in smaug 1.4a?

mpsetflag Altar == 1
if setflag(altar) == 1
Mpsetflag altar = altar + 1


Type thing.. anything like that ( even a flag i can create without math.. globally, in room, on mob, on pc, on obj?

anyone know?

Post is unread #2 Mar 21, 2024 6:38 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,917
JoinedJul 26, 2005

 
I don't recall who came up with it but long ago someone created a snippet to allow something very similar to that and you could add all kinds of things in each mob program to set new variables on players etc... worked great to :)

Post is unread #3 Apr 6, 2024 12:17 am   
Go to the top of the page
Go to the bottom of the page

Salan
Fledgling
GroupMembers
Posts5
JoinedMar 16, 2024

 
Remcon said:

I don't recall who came up with it but long ago someone created a snippet to allow something very similar to that and you could add all kinds of things in each mob program to set new variables on players etc... worked great to :)


err, dang, i guess you also don't remember what it was called? hmm I'll keep looking

Pages:<< prev 1 next >>