Login
User Name:

Password:



Register

Forgot your password?
Any Smaug muds running?
Oct 5, 2024 4:34 pm
By Zedethar
SmaugFUSS 1.8/1.9
Sep 21, 2024 5:04 am
By Elwood
Bug: char_check( )
Aug 31, 2024 12:27 am
By GatewaySysop
Bug: move_char( )
Aug 30, 2024 3:52 am
By GatewaySysop
Bug: spell_animate_dead
Aug 25, 2024 10:48 pm
By GatewaySysop
Discord Websocket Server
Author: Khonsu
Submitted by: Khonsu
Mapout Fix
Author: Khonsu
Submitted by: Khonsu
Progfind command
Author: Khonsu
Submitted by: Khonsu
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
Users Online
DotBot, Bing

Members: 0
Guests: 5
Stats
Files
Topics
Posts
Members
Newest Member
492
3,803
19,667
599
AlvaV96693

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