Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Specifying a Paging Option in sphere_help.scp
|
Author |
Message |
Reflex
Journeyman
Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1
|
Specifying a Paging Option in sphere_help.scp
How do I allow players to still be able to chose the "Stuck" Option while having the pagestatus checks still apply to the other paging options?
Code:
[DIALOG d_help_menu BUTTON]
ON=0
sysmessage @035,,2 501235
return 1
ON=1 8
doswitch <argn>
local.blank
local.reason = General
local.reason = Stuck
local.reason = Bug
local.reason = Counselor
local.reason = Suggestion
local.reason = Other
local.reason = Verbal_Harassment
local.reason = Physical_Harassment
enddo
if <SRC.FINDID(I_MEMORY_PAGESTATUS).MORE> == 1
SRC.SYSMESSAGE @COLOR_TEXT_RED Your paging options have been Permanately Restricted.
return 1
endif
if <SRC.FINDID(I_MEMORY_PAGESTATUS)> && <SRC.FINDID(I_MEMORY_PAGESTATUS).MORE> == 0
SRC.SYSMESSAGE @COLOR_TEXT_RED Your paging options have been restricted.
SRC.SYSMESSAGE @COLOR_TEXT_RED You have <SRC.FINDID(I_MEMORY_PAGESTATUS).TIMER> Seconds before your Ban is lifted.
return 1
endif
if <src.restest i_memory_stuck_town>
src.sysmessageua 022 0 0 1 You have already chosen a stuck option
return 1
elif <src.restest i_memory_stuck_shrine>
src.sysmessageua 022 0 0 1 You have already chosen a stuck option
return 1
elif <argn> == 2 // Need to Add statement to check if they have used the stuck menu more than 3 times a day.
src.closealldialogs
src.sdialog d_stuck_proceed
return 1
else
ctag0.page.reason = <local.reason>
sdialog d_page_request
return 1
endif
endif
ON=9
version
on=10
information
on=11
src.closealldialogs
src.sdialog d_commands
|
|
05-19-2012 03:20 PM |
|
|
Messages In This Thread |
Specifying a Paging Option in sphere_help.scp - Reflex - 05-19-2012 03:20 PM
|
User(s) browsing this thread: 2 Guest(s)