Login
User Name:

Password:



Register

Forgot your password?
 I3 and IMC
Dec 26, 2024 3:27 am
By GatewaySysop
Hi - Clean SmaugFuss map/description issue..
Dec 15, 2024 7:29 pm
By Samson
AFKMud 2.2.4
Dec 10, 2024 4:09 pm
By Samson
Ubuntu 22.04.5 LTS
Dec 5, 2024 5:10 pm
By Remcon
SmaugFUSS 1.8/1.9
Nov 29, 2024 11:46 am
By Remcon
SWFOTEFUSS 1.5.1
Author: Various
Submitted by: Samson
SWRFUSS 1.4.1
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.5
Author: Various
Submitted by: Samson
AFKMud 2.2.4
Author: AFKMud Team
Submitted by: Samson
LOP 1.5
Author: Remcon
Submitted by: Remcon
Users Online
Bing, Google

Members: 0
Guests: 13
Stats
Files
Topics
Posts
Members
Newest Member
494
3,808
19,708
592
CliffHunti

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

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

GroupAdministrators
Posts1,946
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

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 >>